fixes for titan platform

[ROCm/clr commit: 8105bd636f]
Šī revīzija ir iekļauta:
Ben Sander
2016-02-26 05:25:30 -06:00
vecāks d5ae77ecc0
revīzija b97c2c02b1
5 mainīti faili ar 4 papildinājumiem un 12 dzēšanām
+2 -2
Parādīt failu
@@ -792,7 +792,7 @@ hipError_t ihipDevice_t::getProperties(hipDeviceProp_t* prop)
// Group memory will not be paged out, so, the physical memory size is the total shared memory size, and also equal to the group region size.
prop->maxSharedMemoryPerMultiProcessor = prop->totalGlobalMem;
#ifdef USE_ROCR_20
#ifdef USE_ROCR_V2
// Get Max memory clock frequency
err = hsa_region_get_info(*am_region, (hsa_region_info_t)HSA_AMD_REGION_INFO_MAX_CLOCK_FREQUENCY, &prop->memoryClockRate);
DeviceErrorCheck(err);
@@ -1269,7 +1269,7 @@ hipError_t hipDeviceGetAttribute(int* pi, hipDeviceAttribute_t attr, int device)
*pi = prop->regsPerBlock; break;
case hipDeviceAttributeClockRate:
*pi = prop->clockRate; break;
#ifdef USE_ROCR_20
#ifdef USE_ROCR_V2
case hipDeviceAttributeMemoryClockRate:
*pi = prop->memoryClockRate; break;
case hipDeviceAttributeMemoryBusWidth: