Skip to content
Snippets Groups Projects
Commit 2faf856b authored by Tomáš Oberhuber's avatar Tomáš Oberhuber
Browse files

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

parent 291480a1
No related branches found
No related tags found
1 merge request!41Tutorials
......@@ -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();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment