OpenCL-Docs icon indicating copy to clipboard operation
OpenCL-Docs copied to clipboard

cl_intel_unified_shared_memory version 1.1

Open bashbaug opened this issue 2 years ago • 0 comments

Updates the cl_intel_unified_shared_memory extension to version 1.1:

  • Version 1.1 relaxes error conditions for clSetKernelArgMemPointerINTEL and clSetKernelExecInfo(CL_KERNEL_EXEC_INFO_USM_PTRS_INTEL) to allow passing any arbitrary pointer to a kernel even without system USM. It is only a programming error (specifically, undefined behavior) to dereference an arbitrary pointer in a kernel.
  • Also adds a few issues for questions that have been raised in the last couple of months.

I'll probably keep this a draft PR for a bit, to provide opportunity for additional commentary and while we implement this behavior.

CC: @gmlueck

bashbaug avatar Apr 14 '23 23:04 bashbaug