diff options
| author | Preyesh Dalmia <[email protected]> | 2019-04-19 10:17:22 -0500 |
|---|---|---|
| committer | Preyesh Dalmia <[email protected]> | 2019-04-19 10:17:22 -0500 |
| commit | 40a11341f74f2043d46df00be36c6d6fb5294b71 (patch) | |
| tree | 295cb317d062bc53bdb02ad84dbf032b262e2422 /libcuda | |
| parent | 73f1a8a424cff7d689c138eaa8a59780b86a76d1 (diff) | |
updating comment to reflect the correct name of attribute
Diffstat (limited to 'libcuda')
| -rw-r--r-- | libcuda/cuda_runtime_api.cc | 4 |
1 files 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: |
