MCPcopy Create free account
hub / github.com/arrayfire/arrayfire / device<__half>

Method device<__half>

src/backend/cuda/platform.cpp:601–605  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

599namespace af {
600template<>
601__half *array::device<__half>() const {
602 void *ptr = NULL;
603 af_get_device_ptr(&ptr, get());
604 return static_cast<__half *>(ptr);
605}
606} // namespace af

Callers

nothing calls this directly

Calls 2

af_get_device_ptrFunction · 0.50
getFunction · 0.50

Tested by

no test coverage detected