Skip to content

Commit 73c085d

Browse files
gandryeysystems-assistant[bot]
authored andcommitted
SWDEV-465041 - Enable direct dispatch under Linux by default.
(#1934) [rocm-systems] ROCm/rocm-systems#1934 (commit 2c57548)
1 parent 037b8cd commit 73c085d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rocclr/utils/flags.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ release(uint, HIP_HOST_COHERENT, 0, \
179179
release(uint, AMD_OPT_FLUSH, 1, \
180180
"Kernel flush option , 0x0 = Use system-scope fence operations." \
181181
"0x1 = Use device-scope fence operations when possible.") \
182-
release(bool, AMD_DIRECT_DISPATCH, false, \
182+
release(bool, AMD_DIRECT_DISPATCH, IS_LINUX, \
183183
"Enable direct kernel dispatch.") \
184184
release(uint, HIP_HIDDEN_FREE_MEM, 0, \
185185
"Reserve free mem reporting in Mb" \

0 commit comments

Comments
 (0)