Skip to content

Commit 5d693dd

Browse files
sys-igcigcbot
authored andcommitted
[Autobackout][FunctionalRegression]Revert of change: d076cd7: Add ActiveThreadsOnlyBarrier option for OpenCL shaders
Added a condition to set the vISA_ActiveThreadsOnlyBarrier option for SYCL/OpenCL shaders. This ensures that the ActiveThreadsOnlyBarrier option is enabled for both COMPUTE_SHADER and OPENCL_SHADER types.
1 parent 5be4852 commit 5d693dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

IGC/Compiler/CISACodeGen/CISABuilder.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4542,7 +4542,7 @@ namespace IGC
45424542

45434543
SetAbortOnSpillThreshold(canAbortOnSpill, AllowSpill);
45444544

4545-
if (context->type == ShaderType::COMPUTE_SHADER || context->type == ShaderType::OPENCL_SHADER)
4545+
if (context->type == ShaderType::COMPUTE_SHADER)
45464546
{
45474547
SaveOption(vISA_ActiveThreadsOnlyBarrier, true);
45484548
}

0 commit comments

Comments
 (0)