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
Этот коммит содержится в:
1 родитель
f4024263ff
Коммит
f81a154c54
5 files changed
+21
-6
No files matched your search
@@ -117,6 +117,8 @@ bool Settings::create(bool fullProfile, int gfxipVersion) {
|
||||
// enable subnormals for gfx900 and later
|
||||
if (gfxipVersion >= 900) {
|
||||
singleFpDenorm_ = true;
|
||||
enableCoopGroups_ = true;
|
||||
enableCoopMultiDeviceGroups_ = true;
|
||||
}
|
||||
} else {
|
||||
// Also enable AMD double precision extension?
|
||||
@@ -180,8 +182,11 @@ void Settings::override() {
|
||||
break;
|
||||
}
|
||||
}
|
||||
if (!flagIsDefault(GPU_ENABLE_COOP_GROUPS)) {
|
||||
enableCoopGroups_ = GPU_ENABLE_COOP_GROUPS;
|
||||
enableCoopMultiDeviceGroups_ = GPU_ENABLE_COOP_GROUPS;
|
||||
}
|
||||
}
|
||||
|
||||
} // namespace roc
|
||||
|
||||
#endif // WITHOUT_GPU_BACKEND
|
||||
Reference in new issue
Block a user