SWDEV-234295 - Dont clear device programs during amd::program::build()

Change-Id: I87bc7e2c830edee783ee490bbb087492467f2704
This commit is contained in:
kjayapra-amd
2020-06-01 18:40:19 -04:00
committed by Karthik Jayaprakash
parent 298dd2ff3f
commit e9bd41bf1a
2 changed files with 6 additions and 4 deletions
Regular → Executable
+1 -1
View File
@@ -205,7 +205,7 @@ class Program : public RuntimeObject {
//! Build the program for the given devices.
int32_t build(const std::vector<Device*>& devices, const char* options = NULL,
void(CL_CALLBACK* notifyFptr)(cl_program, void*) = NULL, void* data = NULL,
bool optionChangable = true);
bool optionChangable = true, bool newDevProg = true);
//! RTTI internal implementation
virtual ObjectType objectType() const { return ObjectTypeProgram; }