mirror of
https://github.com/lordmathis/CUDANet.git
synced 2025-11-06 01:34:22 +00:00
Add documentation comments
This commit is contained in:
@@ -4,7 +4,10 @@
|
||||
#include <cuda_runtime.h>
|
||||
#include <cstdio>
|
||||
|
||||
// CUDA error checking macro
|
||||
/**
|
||||
* @brief CUDA error checking macro
|
||||
*
|
||||
*/
|
||||
#define CUDA_CHECK(call) \
|
||||
do { \
|
||||
cudaError_t result = call; \
|
||||
|
||||
Reference in New Issue
Block a user