mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-15 13:01:45 +08:00
[7/n] Unified Shared Memory.
- Add basic allocation support for shared allocations - Add kernel support for shared allocations. Related-To: NEO-3148 Change-Id: Ie0523acc3a444eef6a5aeb6a56a041280df6a02e Signed-off-by: Mrozek, Michal <michal.mrozek@intel.com>
This commit is contained in:

committed by
sys_ocldev

parent
57f88ee197
commit
3a75c4fb71
@ -3988,7 +3988,8 @@ cl_int CL_API_CALL clSetKernelExecInfo(cl_kernel kernel,
|
||||
|
||||
switch (paramName) {
|
||||
case CL_KERNEL_EXEC_INFO_INDIRECT_DEVICE_ACCESS_INTEL:
|
||||
case CL_KERNEL_EXEC_INFO_INDIRECT_HOST_ACCESS_INTEL: {
|
||||
case CL_KERNEL_EXEC_INFO_INDIRECT_HOST_ACCESS_INTEL:
|
||||
case CL_KERNEL_EXEC_INFO_INDIRECT_SHARED_ACCESS_INTEL: {
|
||||
auto propertyValue = *reinterpret_cast<const cl_bool *>(paramValue);
|
||||
pKernel->setUnifiedMemoryProperty(paramName, propertyValue);
|
||||
} break;
|
||||
|
Reference in New Issue
Block a user