summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAhmad Alawneh <[email protected]>2025-07-09 01:16:56 -0400
committerGitHub <[email protected]>2025-07-09 05:16:56 +0000
commit9d88a1c6b63c46d085410a6937d2f6c29f02f10a (patch)
tree030a8b2ae76fea05baa4efec7d326836d25089dd
parent67d8a3bee44c48ebe15bf5aeb072bf4cb4950228 (diff)
add v2 of device proprites (#124)
-rw-r--r--libcuda/cuda_runtime_api.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/libcuda/cuda_runtime_api.cc b/libcuda/cuda_runtime_api.cc
index 8de12a3..8743fe1 100644
--- a/libcuda/cuda_runtime_api.cc
+++ b/libcuda/cuda_runtime_api.cc
@@ -2748,6 +2748,11 @@ cudaGetDeviceProperties(struct cudaDeviceProp *prop, int device) {
return cudaGetDevicePropertiesInternal(prop, device);
}
+__host__ cudaError_t CUDARTAPI
+cudaGetDeviceProperties_v2(struct cudaDeviceProp *prop, int device) {
+ return cudaGetDevicePropertiesInternal(prop, device);
+}
+
#if (CUDART_VERSION > 5000)
__host__ cudaError_t CUDARTAPI cudaDeviceGetAttribute(int *value,
enum cudaDeviceAttr attr,