2
0

corrected hipDeviceGetProperties to hipGetDeviceProperties - not docs

Este cometimento está contido em:
Aditya Atluri
2016-03-06 08:31:04 -06:00
ascendente 3aa764d5eb
cometimento d3ba2b9782
24 ficheiros modificados com 27 adições e 27 eliminações
+1 -1
Ver ficheiro
@@ -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) {