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

Method half>

src/backend/opencl/Array.cpp:83–87  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 2

isHalfSupportedFunction · 0.70
getActiveDeviceIdFunction · 0.70

Tested by

no test coverage detected