MCPcopy Create free account
hub / github.com/arrayfire/arrayfire / half>

Method half>

src/backend/oneapi/Array.cpp:84–88  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

82
83template<>
84void verifyTypeSupport<arrayfire::common::half>() {
85 if (!isHalfSupported(getActiveDeviceId())) {
86 AF_ERROR("Half precision not supported", AF_ERR_NO_HALF);
87 }
88}
89} // namespace
90
91template<typename T>

Callers

nothing calls this directly

Calls 2

isHalfSupportedFunction · 0.70
getActiveDeviceIdFunction · 0.70

Tested by

no test coverage detected