P4 to Git Change 1985445 by skudchad@skudchad_test2_win_opencl on 2019/08/19 17:35:03
SWDEV-198861 - Implement VDI equivalent to HCC_SERIALIZE_KERNEL/HCC_SERIALIZE_COPY - Use env var AMD_SERIALIZE_COPY/AMD_SERIALIZE_KERNEL 0x1 - Wait for complete before command is submitted 0x2 - Wait for complete after submission 0x3 - Wait both ReviewBoardURL = http://ocltc.amd.com/reviews/r/17843/diff/ Affected files ... ... //depot/stg/opencl/drivers/opencl/runtime/platform/command.cpp#95 edit ... //depot/stg/opencl/drivers/opencl/runtime/platform/command.hpp#93 edit ... //depot/stg/opencl/drivers/opencl/runtime/platform/commandqueue.cpp#30 edit ... //depot/stg/opencl/drivers/opencl/runtime/utils/flags.hpp#316 edit
This commit is contained in:
@@ -191,7 +191,13 @@ release(bool, GPU_DUMP_CODE_OBJECT, false, \
|
||||
"Enable dump code object") \
|
||||
release(uint, GPU_MAX_USWC_ALLOC_SIZE, 2048, \
|
||||
"Set a limit in Mb on the maximum USWC allocation size" \
|
||||
"-1 = No limit")
|
||||
"-1 = No limit") \
|
||||
release(uint, AMD_SERIALIZE_KERNEL, 0, \
|
||||
"Serialize kernel enqueue, 0x1 = Wait for completion before enqueue" \
|
||||
"0x2 = Wait for completion after enqueue 0x3 = both") \
|
||||
release(uint, AMD_SERIALIZE_COPY, 0, \
|
||||
"Serialize copies, 0x1 = Wait for completion before enqueue" \
|
||||
"0x2 = Wait for completion after enqueue 0x3 = both")
|
||||
|
||||
namespace amd {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user