Searched defs:KernelArgumentHandler (Results 1 – 2 of 2) sorted by relevance
5890 struct KernelArgumentHandler<T, typename std::enable_if<!std::is_base_of<cl::Memory, T>::value>::ty… struct5892 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… struct5901 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> struct5910 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 …]
4821 struct KernelArgumentHandler struct4823 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> struct4830 static ::size_t size(const LocalSpaceArg& value) { return value.size_; } in size()4831 static const void* ptr(const LocalSpaceArg&) { return NULL; } in ptr()