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

Function type_max

test/topk.cpp:162–167  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

160}
161
162int type_max(af_dtype type) {
163 switch (type) {
164 case f16: return 63000;
165 default: return 100000;
166 }
167}
168
169TYPED_TEST(TopK, Max1D0) {
170 af_dtype t = (af_dtype)dtype_traits<TypeParam>::af_type;

Callers 1

TYPED_TESTFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected