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

Function oneMinusGetHalf01

src/backend/oneapi/kernel/random_engine_write.hpp:85–87  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

83}
84
85sycl::half oneMinusGetHalf01(uint num, uint index) {
86 return static_cast<sycl::half>(1.) - getHalf01(num, index);
87}
88
89// Generates rationals in (-1, 1]
90sycl::half getHalfNegative11(uint num, uint index) {

Callers 2

writeOut128BytesFunction · 0.70
partialWriteOut128BytesFunction · 0.70

Calls 1

getHalf01Function · 0.70

Tested by

no test coverage detected