diff options
| author | Amruth <[email protected]> | 2018-04-11 19:11:47 +0000 |
|---|---|---|
| committer | Amruth <[email protected]> | 2018-04-11 19:11:47 +0000 |
| commit | f052807cd6acfaf3221fbfe40ab905fd3aeaf2ef (patch) | |
| tree | 20755b0121970e72ca14fd4033e51a3839c8d392 | |
| parent | f118b10cc49bf771755f2afdee04cde0359d745e (diff) | |
cuda_runtime_api.cc edited online with Bitbucket
| -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 abdc345..dd32654 100644 --- a/libcuda/cuda_runtime_api.cc +++ b/libcuda/cuda_runtime_api.cc @@ -5,7 +5,7 @@ /* * cuda_runtime_api.cc * - * Copyright © 2009 by Tor M. Aamodt, Wilson W. L. Fung, Ali Bakhoda, + * Copyright � 2009 by Tor M. Aamodt, Wilson W. L. Fung, Ali Bakhoda, * George L. Yuan and the University of British Columbia, Vancouver, * BC V6T 1Z4, All Rights Reserved. * @@ -841,7 +841,7 @@ __host__ cudaError_t CUDARTAPI cudaDeviceGetAttribute(int *value, enum cudaDevic prop = dev->get_prop(); switch (attr) { case 5: - *value= prop->maxGridSize[1]; + *value= prop->maxGridSize[0]; break; case 6: *value= prop->maxGridSize[1]; |
