corrected hipDeviceGetProperties to hipGetDeviceProperties - not docs

[ROCm/clr commit: 8a21b42943]
This commit is contained in:
Aditya Atluri
2016-03-06 08:31:04 -06:00
parent 387bd2e1a7
commit e5657dec23
24 changed files with 27 additions and 27 deletions
@@ -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) {