Evgeny Mankov
c76791140d
Guard #ifdef USE_ROCR_20 is added for ROCR_20 device properties (memoryClockRate, memoryBusWidth)
...
By default isn't defined.
To add ROCR_20 support HIP have to be compiled as follows: make CXX_DEFINES+=-DUSE_ROCR_20
[ROCm/clr commit: d4b15399f5 ]
2016-02-19 13:27:03 +03:00
Evgeny Mankov
a17733dd80
Device property memoryBusWidth implementation.
...
+ Device property memoryBusWidth is added to hipDeviceProp_t struct.
+ Device attribute hipDeviceAttributeMemoryBusWidth is added to hipDeviceAttribute_t struct.
+ Tests update.
[ROCm/clr commit: da8169dd89 ]
2016-02-18 18:15:01 +03:00
Evgeny Mankov
a47073f25d
Device property memoryClockRate implementation.
...
+ Device property memoryClockRate is added to hipDeviceProp_t struct.
+ Device attribute hipDeviceAttributeMemoryClockRate is added to hipDeviceAttribute_t struct.
+ Tests update.
+ Rename hipDevAttrConcurrentKernels to hipDeviceAttributeConcurrentKernels.
[ROCm/clr commit: 8aace64dce ]
2016-02-18 17:25:28 +03:00
Evgeny Mankov
3faa6fd86c
Attribute hipDevAttrConcurrentKernels for obtaining Device property concurrentKernels is added.
...
[ROCm/clr commit: d4bd94e9a0 ]
2016-02-18 14:34:18 +03:00
Evgeny Mankov
6add51ef8c
Fix typo: maxThreadsPerMultiProcessor -> MaxSharedMemoryPerMultiprocessor
...
Device property MaxSharedMemoryPerMultiprocessor set equal to totalGlobalMem (HIP path).
Reason: MaxSharedMemoryPerMultiprocessor should be as the same as group memory size. Group memory will not be paged out, so, the physical memory size = total shared memory size = group region size. NVCC path remains untouched: CUDA's device property MaxSharedMemoryPerMultiprocessor is reported.
hipify is updated as well.
[ROCm/clr commit: 460b501cbb ]
2016-02-12 01:29:20 +03:00
Evgeny Mankov
a8b7647f8b
BDFID (BusID/DeviceID/FunctionID) support.
...
Except FunctionID (or DomainID in CUDA) support, because cudaDeviceProp::pciDomainID is not reported by CUDA.
[ROCm/clr commit: 658e9f0484 ]
2016-02-11 22:26:01 +03:00
streamhsa
71d3c9f306
Rename test hipInfo as hipGetDeviceAttribute
...
[ROCm/clr commit: 310023e273 ]
2016-02-09 13:19:32 +08:00