diff options
| author | PSuchita <[email protected]> | 2019-04-19 15:16:39 -0500 |
|---|---|---|
| committer | GitHub <[email protected]> | 2019-04-19 15:16:39 -0500 |
| commit | 51c853e42c805275c64ee90c1c025e4b111fc570 (patch) | |
| tree | 463dd5eb7f62b890eb0c11ab95f4026711609fde /libcuda | |
| parent | 537b342ab102b75a6da694b968b2226719b267c3 (diff) | |
| parent | 3eabe77d908bfbf839730e28fd9222cb6461cab0 (diff) | |
Merge pull request #3 from PSuchita/gpgpu_compute_capability
changes for compute capabilty
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: |
