corrected hipDeviceGetProperties to hipGetDeviceProperties - not docs

This commit is contained in:
Aditya Atluri committed 2016-03-06 08:31:04 -06:00
1 vanhempi 411154f93f
commit 8a21b42943
24 files changed
+27 -27

No files matched your search

+1 -1
Näytä tiedosto
@@ -144,7 +144,7 @@ unsigned setNumBlocks(unsigned blocksPerCU, unsigned threadsPerBlock, size_t N)
int device;
HIPCHECK(hipGetDevice(&device));
hipDeviceProp_t props;
HIPCHECK(hipDeviceGetProperties(&props, device));
HIPCHECK(hipGetDeviceProperties(&props, device));
unsigned blocks = props.multiProcessorCount * blocksPerCU;
if (blocks * threadsPerBlock > N) {