MCPcopy Create free account
hub / github.com/RenderKit/embree / getDevicePtr

Method getDevicePtr

kernels/common/buffer.h:165–171  ·  view source on GitHub ↗

! returns pointer to first element */

Source from the content-addressed store, hash-verified

163
164 /*! returns pointer to first element */
165 __forceinline virtual char* getDevicePtr() const {
166#if defined(EMBREE_SYCL_SUPPORT)
167 return dptr;
168#else
169 return ptr;
170#endif
171 }
172
173 /*! returns the number of bytes of the buffer */
174 __forceinline size_t bytes() const {

Callers 2

setMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected