Loading Documentation/Examples/FileExampleCuda.cu +2 −2 Original line number Diff line number Diff line Loading @@ -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(); Loading @@ -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(); Loading Loading
Documentation/Examples/FileExampleCuda.cu +2 −2 Original line number Diff line number Diff line Loading @@ -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(); Loading @@ -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(); Loading