MCPcopy Create free account
hub / github.com/arrayfire/arrayfire / getRawPtr

Function getRawPtr

src/backend/cpu/Array.hpp:125–128  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

123
124template<typename T>
125void *getRawPtr(const Array<T> &arr) {
126 getQueue().sync();
127 return (void *)(arr.get(false));
128}
129
130/// Checks if the Array object can be migrated to the current device and if not,
131/// an error is thrown

Callers

nothing calls this directly

Calls 3

getQueueFunction · 0.50
syncMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected