Skip to content

Commit 902ca40

Browse files
trbauerigcbot
authored andcommitted
Internal feature
1 parent a1a451f commit 902ca40

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

IGC/Compiler/CISACodeGen/CISABuilder.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4268,7 +4268,8 @@ namespace IGC
42684268
SaveOption( vISA_FastCompileRA, true );
42694269
}
42704270
}
4271-
}
4271+
4272+
} // InitVISABuilderOptions
42724273

42734274
// Creates a module/program-unique label prefix.
42744275
// E.g. the 3rd label of the 5th function would be

IGC/Compiler/CISACodeGen/Platform.hpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,8 @@ class CPlatform
5454
public:
5555
void setOclCaps(OCLCaps& caps) { m_OCLCaps = caps; }
5656
uint32_t getMaxOCLParameteSize() const {
57-
uint32_t limitFromFlag = IGC_GET_FLAG_VALUE(OverrideOCLMaxParamSize);
58-
return limitFromFlag ? limitFromFlag : m_OCLCaps.MaxParameterSize;
57+
uint32_t limitFromFlag = IGC_GET_FLAG_VALUE(OverrideOCLMaxParamSize);
58+
return limitFromFlag ? limitFromFlag : m_OCLCaps.MaxParameterSize;
5959
}
6060
void OverrideRevId(unsigned short newRevId)
6161
{
@@ -64,7 +64,7 @@ void OverrideRevId(unsigned short newRevId)
6464

6565
void OverrideDeviceId(unsigned short newDeviceID)
6666
{
67-
m_platformInfo.usDeviceID = newDeviceID;
67+
m_platformInfo.usDeviceID = newDeviceID;
6868
}
6969

7070

0 commit comments

Comments
 (0)