Searched refs:CL_MEM_USE_HOST_PTR (Results 1 – 16 of 16) sorted by relevance
29 const MemFlags hostPtrFlags(CL_MEM_USE_HOST_PTR | CL_MEM_ALLOC_HOST_PTR | in InheritMemFlags()162 mHostPtr(flags.isSet(CL_MEM_USE_HOST_PTR) ? hostPtr : nullptr), in Memory()197 mHostPtr(flags.isSet(CL_MEM_USE_HOST_PTR) ? hostPtr : nullptr), in Memory()
107 allowedFlags.set(CL_MEM_USE_HOST_PTR | CL_MEM_ALLOC_HOST_PTR | CL_MEM_COPY_HOST_PTR); in ValidateMemoryFlags()108 if (!flags.areMutuallyExclusive(CL_MEM_USE_HOST_PTR, in ValidateMemoryFlags()858 if ((host_ptr != nullptr) != flags.isSet(CL_MEM_USE_HOST_PTR | CL_MEM_COPY_HOST_PTR)) in ValidateCreateBuffer()2410 flags.isSet(CL_MEM_USE_HOST_PTR | CL_MEM_ALLOC_HOST_PTR | CL_MEM_COPY_HOST_PTR)) in ValidateCreateSubBuffer()2855 if ((host_ptr != nullptr) != flags.isSet(CL_MEM_USE_HOST_PTR | CL_MEM_COPY_HOST_PTR)) in ValidateCreateImage()
37 CL_MEM_USE_HOST_PTR | CL_MEM_ALLOC_HOST_PTR | CL_MEM_COPY_HOST_PTR; in validate_flags()53 if ((d_flags & CL_MEM_USE_HOST_PTR) && in validate_flags()113 if (bool(host_ptr) != bool(flags & (CL_MEM_USE_HOST_PTR | in clCreateBufferWithProperties()201 if (bool(host_ptr) != bool(d_flags & (CL_MEM_USE_HOST_PTR | in clCreateImageWithProperties()
179 if (obj.flags() & CL_MEM_USE_HOST_PTR && dev.allows_user_pointers()) { in root_resource()187 if (obj.flags() & (CL_MEM_ALLOC_HOST_PTR | CL_MEM_USE_HOST_PTR)) { in root_resource()
98 if (flags() & (CL_MEM_USE_HOST_PTR | CL_MEM_COPY_HOST_PTR)) in resource_in()
38 use_host_ptr = CL_MEM_USE_HOST_PTR,
137 objects with the `CL_MEM_USE_HOST_PTR` flag. The high-level interface is
400 #define CL_MEM_USE_HOST_PTR (1 << 3) macro
3734 flags |= CL_MEM_USE_HOST_PTR; in Buffer()8416 flags |= CL_MEM_USE_HOST_PTR; in Buffer()8467 flags |= CL_MEM_USE_HOST_PTR; in Buffer()
3232 flags |= CL_MEM_USE_HOST_PTR; in Buffer()6635 flags |= CL_MEM_USE_HOST_PTR; in Buffer()6686 flags |= CL_MEM_USE_HOST_PTR; in Buffer()
526 #define CL_MEM_USE_HOST_PTR (1 << 3) macro
524 #define CL_MEM_USE_HOST_PTR (1 << 3) macro
3886 flags |= CL_MEM_USE_HOST_PTR; in Buffer()9033 flags |= CL_MEM_USE_HOST_PTR;9084 flags |= CL_MEM_USE_HOST_PTR;
3249 flags |= CL_MEM_USE_HOST_PTR; in Buffer()6645 flags |= CL_MEM_USE_HOST_PTR; in Buffer()6696 flags |= CL_MEM_USE_HOST_PTR; in Buffer()