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

Class clamp_params

test/clamp.cpp:34–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

32const int num = 10000;
33
34struct clamp_params {
35 dim4 size_;
36 dtype in_type_;
37 dtype lo_type_;
38 dtype hi_type_;
39 dtype out_type_;
40
41 clamp_params(dim4 size, dtype itype, dtype ltype, dtype htype, dtype otype)
42 : size_(size)
43 , in_type_(itype)
44 , lo_type_(ltype)
45 , hi_type_(htype)
46 , out_type_(otype) {}
47};
48
49template<typename T>
50class Clamp : public ::testing::TestWithParam<clamp_params> {

Callers 1

clamp.cppFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected