mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-15 13:01:45 +08:00
Revert "Builtins increase context refcount."
This reverts commit 39d55e5257
.
Change-Id: Ib5b38e5a508c5e56e61c7f0ac0b5b8a965d6170d
This commit is contained in:
@ -1229,7 +1229,7 @@ cl_program CL_API_CALL clLinkProgram(cl_context context,
|
||||
pContext = castToObject<Context>(context);
|
||||
}
|
||||
if (pContext != nullptr) {
|
||||
program = new Program(pContext);
|
||||
program = new Program(pContext, false);
|
||||
Program *pProgram = castToObject<Program>(program);
|
||||
retVal = pProgram->link(numDevices, deviceList, options,
|
||||
numInputPrograms, inputPrograms,
|
||||
|
Reference in New Issue
Block a user