Commit 2faf856b authored by Tomáš Oberhuber's avatar Tomáš Oberhuber

Fixed FileExampleCuda to be able to run in parallel with other examples.

parent 291480a1
......@@ -16,7 +16,7 @@ int main()
* Save array to file.
*/
File file;
file.open( "test-file.tnl", std::ios_base::out | std::ios_base::trunc );
file.open( "file-example-cuda-test-file.tnl", std::ios_base::out | std::ios_base::trunc );
file.save< double, double, Devices::Host >( doubleArray, size );
file.close();
......@@ -30,7 +30,7 @@ int main()
/***
* Read array from the file to device
*/
file.open( "test-file.tnl", std::ios_base::in );
file.open( "file-example-cuda-test-file.tnl", std::ios_base::in );
file.load< double, double, Devices::Cuda >( deviceArray, size );
file.close();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment