mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 06:49:52 +08:00
Cleanup program_tests.cpp
Reduce number of local classes deriving from Program Change-Id: I713790c6ea0e034971fa90c6cb8f9c0a6bd6b6cd
This commit is contained in:
committed by
sys_ocldev
parent
2711e19986
commit
72740fc048
@@ -258,7 +258,7 @@ bool Program::isValidLlvmBinary(
|
||||
return retVal;
|
||||
}
|
||||
|
||||
void Program::setSource(char *pSourceString) {
|
||||
void Program::setSource(const char *pSourceString) {
|
||||
sourceCode = pSourceString;
|
||||
}
|
||||
|
||||
|
||||
@@ -174,7 +174,7 @@ class Program : public BaseObject<_cl_program> {
|
||||
MOCKABLE_VIRTUAL cl_int processElfBinary(const void *pBinary, size_t binarySize, uint32_t &binaryVersion);
|
||||
cl_int processSpirBinary(const void *pBinary, size_t binarySize, bool isSpirV);
|
||||
|
||||
void setSource(char *pSourceString);
|
||||
void setSource(const char *pSourceString);
|
||||
|
||||
cl_int getSource(char *&pBinary, unsigned int &dataSize) const;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user