mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-25 05:24:02 +08:00
Set Context in program when using builtins
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
402082182c
commit
722f693e0f
@@ -277,6 +277,10 @@ class Program : public BaseObject<_cl_program> {
|
||||
|
||||
const ExecutionEnvironment &getExecutionEnvironment() const { return executionEnvironment; }
|
||||
|
||||
void setContext(Context *pContext) {
|
||||
this->context = pContext;
|
||||
}
|
||||
|
||||
protected:
|
||||
MOCKABLE_VIRTUAL cl_int createProgramFromBinary(const void *pBinary, size_t binarySize, ClDevice &clDevice);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user