Lines Matching defs:memory
85 * There are numerous compatibility, portability and memory management
112 * throughout to safely manage memory and reduce the chance of a
113 * recurrance of earlier memory management bugs.
233 #include <memory>
620 #include <memory>
769 * \return A memory pointer to the error message string.
1651 static cl_int retain(cl_mem memory)
1652 { return ::clRetainMemObject(memory); }
1653 static cl_int release(cl_mem memory)
1654 { return ::clReleaseMemObject(memory); }
3335 explicit Memory(const cl_mem& memory, bool retainObject) :
3336 detail::Wrapper<cl_type>(memory, retainObject) { }
3402 /*! \brief Registers a callback function to be called when the memory object
3408 * to the list of functions called (in reverse order) when memory object's
3409 * resources are freed and the memory object is deleted.
3612 // Allocate memory with default alignment matching the size of the type
3735 * allocated in memory inaccessible to the host.
5777 // Enable for objects that are not subclasses of memory
5786 // Enable for subclasses of memory where we want to get a reference to the cl_mem out
8134 const Memory& memory,
8142 object_, memory(), mapped_ptr,
8294 * Enqueues a command to indicate with which device a set of memory objects
9257 const Memory& memory,
9272 queue(), memory(), mapped_ptr,