P4 to Git Change 1456363 by wchau@wchau_OCL_boltzmann on 2017/09/07 15:47:03
SWDEV-130808 - Add support of two new queries: CL_DEVICE_PREFERRED_WORK_GROUP_SIZE_AMD, CL_DEVICE_MAX_WORK_GROUP_SIZE_AMD. Affected files ... ... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_device.cpp#64 edit ... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl1.2/CL/cl.hpp#4 edit ... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl1.2/CL/cl_ext.h#15 edit ... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl2.0/CL/cl.hpp#6 edit ... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl2.0/CL/cl_ext.h#31 edit ... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl2.1/CL/cl.hpp#3 edit ... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl2.1/CL/cl_ext.h#8 edit ... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl2.2/CL/cl.hpp#2 edit ... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl2.2/CL/cl_ext.h#2 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/device.hpp#288 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.cpp#570 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpusettings.cpp#353 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpusettings.hpp#99 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#55 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palsettings.cpp#30 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palsettings.hpp#11 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#58 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocsettings.cpp#21 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocsettings.hpp#9 edit ... //depot/stg/opencl/drivers/opencl/runtime/utils/flags.hpp#275 edit
This commit is contained in:
1 parent
e8395888c5
commit
0b90f3418f
11 files changed
+33
-5
No files matched your search
@@ -22,7 +22,9 @@ Settings::Settings() {
|
||||
enableLocalMemory_ = HSA_LOCAL_MEMORY_ENABLE;
|
||||
enableImageHandle_ = true;
|
||||
|
||||
maxWorkGroupSize_ = 256;
|
||||
maxWorkGroupSize_ = 1024;
|
||||
preferredWorkGroupSize_ = 256;
|
||||
|
||||
maxWorkGroupSize2DX_ = 16;
|
||||
maxWorkGroupSize2DY_ = 16;
|
||||
maxWorkGroupSize3DX_ = 4;
|
||||
@@ -132,6 +134,10 @@ void Settings::override() {
|
||||
maxWorkGroupSize_ = GPU_MAX_WORKGROUP_SIZE;
|
||||
}
|
||||
|
||||
if (GPU_PREFERRED_WORKGROUP_SIZE != 0) {
|
||||
preferredWorkGroupSize_ = GPU_PREFERRED_WORKGROUP_SIZE;
|
||||
}
|
||||
|
||||
if (!flagIsDefault(GPU_MAX_COMMAND_QUEUES)) {
|
||||
commandQueues_ = GPU_MAX_COMMAND_QUEUES;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user