mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-26 07:00:17 +08:00
ULT execution time improvements.
- Do not open file twice, loadDataFromFile checks if file is successfully opened and returns 0 if not. Change-Id: I8ca73b281ea13033746f8203f482d9af7a2739b7
This commit is contained in:
committed by
sys_ocldev
parent
52044281d1
commit
2dedaf1521
@@ -41,7 +41,6 @@ void ProgramFixture::CreateProgramFromBinary(cl_context context,
|
||||
testFile.append(pContext->getDevice(0)->getProductAbbrev());
|
||||
testFile.append(".bin");
|
||||
testFile.append(options);
|
||||
ASSERT_EQ(true, fileExists(testFile));
|
||||
|
||||
knownSourceSize = loadDataFromFile(
|
||||
testFile.c_str(),
|
||||
|
||||
Reference in New Issue
Block a user