summaryrefslogtreecommitdiff
path: root/libcuda/cuda_api.h
diff options
context:
space:
mode:
Diffstat (limited to 'libcuda/cuda_api.h')
-rw-r--r--libcuda/cuda_api.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libcuda/cuda_api.h b/libcuda/cuda_api.h
index 52f36eb..5a970ba 100644
--- a/libcuda/cuda_api.h
+++ b/libcuda/cuda_api.h
@@ -2607,12 +2607,12 @@ typedef struct CUDA_EXTERNAL_SEMAPHORE_WAIT_PARAMS_st {
/**
* Device that represents the CPU
*/
-#define CU_DEVICE_CPU ((CUdevice) - 1)
+#define CU_DEVICE_CPU ((CUdevice)-1)
/**
* Device that represents an invalid device
*/
-#define CU_DEVICE_INVALID ((CUdevice) - 2)
+#define CU_DEVICE_INVALID ((CUdevice)-2)
/** @} */ /* END CUDA_TYPES */