From 40a11341f74f2043d46df00be36c6d6fb5294b71 Mon Sep 17 00:00:00 2001 From: Preyesh Dalmia Date: Fri, 19 Apr 2019 10:17:22 -0500 Subject: updating comment to reflect the correct name of attribute --- libcuda/cuda_runtime_api.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libcuda/cuda_runtime_api.cc b/libcuda/cuda_runtime_api.cc index 9068700..3a9d613 100644 --- a/libcuda/cuda_runtime_api.cc +++ b/libcuda/cuda_runtime_api.cc @@ -1120,10 +1120,10 @@ __host__ cudaError_t CUDARTAPI cudaDeviceGetAttribute(int *value, enum cudaDevic case 41: *value= 0; break; - case 75:// Major compute capability version number + case 75://cudaDevAttrComputeCapabilityMajor *value= prop->major ; break; - case 76:// Minor compute capability version number + case 76://cudaDevAttrComputeCapabilityMinor *value= prop->minor ; break; case 78: -- cgit v1.3