Skip to content

Commit 20b82ca

Browse files
gkluczekigcbot
authored andcommitted
Minor refactoring
Minor refactoring.
1 parent 4d0a4db commit 20b82ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

IGC/Compiler/CISACodeGen/Platform.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -870,7 +870,7 @@ SIMDMode getMaxRayQuerySIMDSize() const
870870

871871
SIMDMode getPreferredRayQuerySIMDSize() const
872872
{
873-
const SIMDMode ret = isCoreChildOf(IGFX_XE_HPC_CORE) ? SIMDMode::SIMD16 : SIMDMode::SIMD8;
873+
SIMDMode ret = isCoreChildOf(IGFX_XE_HPC_CORE) ? SIMDMode::SIMD16 : SIMDMode::SIMD8;
874874

875875
IGC_ASSERT_MESSAGE(ret <= getMaxRayQuerySIMDSize(), "Preferred SIMD size for RayQuery must not be greater than MaxRayQuerySIMDSize!");
876876

0 commit comments

Comments
 (0)