Home
last modified time | relevance | path

Searched defs:KernelArgumentHandler (Results 1 – 2 of 2) sorted by relevance

/hardware/google/gfxstream/guest/mesa/include/CL/
Dopencl.hpp5890 struct KernelArgumentHandler<T, typename std::enable_if<!std::is_base_of<cl::Memory, T>::value>::ty… struct
5892 static size_type size(const T&) { return sizeof(T); } in size()
5893 static const T* ptr(const T& value) { return &value; } in ptr()
5899 struct KernelArgumentHandler<T, typename std::enable_if<std::is_base_of<cl::Memory, T>::value>::typ… struct
5901 static size_type size(const T&) { return sizeof(cl_mem); } in size()
5902 static const cl_mem* ptr(const T& value) { return &(value()); } in ptr()
5908 struct KernelArgumentHandler<LocalSpaceArg, void> struct
5910 static size_type size(const LocalSpaceArg& value) { return value.size_; } in size()
5911 static const void* ptr(const LocalSpaceArg&) { return NULL; } in ptr()
9155 struct KernelArgumentHandler<cl::DeviceCommandQueue, void> struct
[all …]
Dcl.hpp4821 struct KernelArgumentHandler struct
4823 static ::size_t size(const T&) { return sizeof(T); } in size()
4824 static const T* ptr(const T& value) { return &value; } in ptr()
4828 struct KernelArgumentHandler<LocalSpaceArg> struct
4830 static ::size_t size(const LocalSpaceArg& value) { return value.size_; } in size()
4831 static const void* ptr(const LocalSpaceArg&) { return NULL; } in ptr()