Skip to content
Snippets Groups Projects
Commit 82ca55aa authored by Jakub Klinkovský's avatar Jakub Klinkovský
Browse files

Renamed the checkCudaDevice macro to TNL_CHECK_CUDA_DEVICE

parent 9f81d797
No related branches found
No related tags found
No related merge requests found
......@@ -176,7 +176,7 @@ processBoundaryEntities( const MeshPointer& meshPointer,
&userDataPointer.template modifyData< Devices::Cuda >(),
entitiesCount );
cudaDeviceSynchronize();
checkCudaDevice;
TNL_CHECK_CUDA_DEVICE;
#else
throw Exceptions::CudaSupportMissing();
#endif
......@@ -208,7 +208,7 @@ processInteriorEntities( const MeshPointer& meshPointer,
&userDataPointer.template modifyData< Devices::Cuda >(),
entitiesCount );
cudaDeviceSynchronize();
checkCudaDevice;
TNL_CHECK_CUDA_DEVICE;
#else
throw Exceptions::CudaSupportMissing();
#endif
......@@ -240,7 +240,7 @@ processAllEntities( const MeshPointer& meshPointer,
&userDataPointer.template modifyData< Devices::Cuda >(),
entitiesCount );
cudaDeviceSynchronize();
checkCudaDevice;
TNL_CHECK_CUDA_DEVICE;
#else
throw Exceptions::CudaSupportMissing();
#endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment