P4 to Git Change 1826060 by gandryey@gera-hip-lnx on 2019/06/13 15:40:00
SWDEV-184708 - Support hipGetDeviceProperties()
- Enable coop launch properties for gfx9+ by default
- GPU_ENABLE_COOP_GROUPS controls the feature
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/device.hpp#339 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#143 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palsettings.cpp#84 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#128 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocsettings.cpp#44 edit
[ROCm/clr commit: f81a154c54]
This commit is contained in:
@@ -1376,8 +1376,8 @@ bool Device::populateOCLDeviceConstants() {
|
||||
//TODO: set to true once thread trace support is available
|
||||
info_.threadTraceEnable_ = false;
|
||||
info_.pcieDeviceId_ = deviceInfo_.pciDeviceId_;
|
||||
info_.cooperativeGroups_ = GPU_ENABLE_COOP_GROUPS;
|
||||
info_.cooperativeMultiDeviceGroups_ = GPU_ENABLE_COOP_GROUPS;
|
||||
info_.cooperativeGroups_ = settings().enableCoopGroups_;
|
||||
info_.cooperativeMultiDeviceGroups_ = settings().enableCoopMultiDeviceGroups_;
|
||||
}
|
||||
|
||||
info_.maxPipePacketSize_ = info_.maxMemAllocSize_;
|
||||
|
||||
Reference in New Issue
Block a user