mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 23:03:02 +08:00
Enable zero copy for enqueueImage r/w with hints
Change-Id: I6d4379b4bebaca162f859ea790f6a77475f7e94e
This commit is contained in:
@@ -104,6 +104,8 @@ class Image : public MemObj {
|
||||
|
||||
static size_t calculateHostPtrSize(size_t *region, size_t rowPitch, size_t slicePitch, size_t pixelSize, uint32_t imageType);
|
||||
|
||||
static void calculateHostPtrOffset(size_t *imageOffset, const size_t *origin, const size_t *region, size_t rowPitch, size_t slicePitch, uint32_t imageType, size_t bytesPerPixel);
|
||||
|
||||
static cl_int getImageParams(Context *context,
|
||||
cl_mem_flags flags,
|
||||
const SurfaceFormatInfo *surfaceFormat,
|
||||
|
||||
Reference in New Issue
Block a user