Skip to content

Commit e52236f

Browse files
committed
Clang format
1 parent 07e8899 commit e52236f

16 files changed

+382
-244
lines changed

sycl/test/group-algorithm/exclusive_scan.cpp

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -136,12 +136,16 @@ int main() {
136136

137137
#if __cplusplus >= 201402L
138138
test<class KernelNamePlusV>(q, input, output, plus<>(), 0);
139-
test<class KernelNameMinimumV>(q, input, output, minimum<>(), std::numeric_limits<int>::max());
140-
test<class KernelNameMaximumV>(q, input, output, maximum<>(), std::numeric_limits<int>::lowest());
139+
test<class KernelNameMinimumV>(q, input, output, minimum<>(),
140+
std::numeric_limits<int>::max());
141+
test<class KernelNameMaximumV>(q, input, output, maximum<>(),
142+
std::numeric_limits<int>::lowest());
141143
#endif
142144
test<class KernelNamePlusI>(q, input, output, plus<int>(), 0);
143-
test<class KernelNameMinimumI>(q, input, output, minimum<int>(), std::numeric_limits<int>::max());
144-
test<class KernelNameMaximumI>(q, input, output, maximum<int>(), std::numeric_limits<int>::lowest());
145+
test<class KernelNameMinimumI>(q, input, output, minimum<int>(),
146+
std::numeric_limits<int>::max());
147+
test<class KernelNameMaximumI>(q, input, output, maximum<int>(),
148+
std::numeric_limits<int>::lowest());
145149

146150
std::cout << "Test passed." << std::endl;
147151
}

sycl/test/group-algorithm/inclusive_scan.cpp

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -136,12 +136,16 @@ int main() {
136136

137137
#if __cplusplus >= 201402L
138138
test<class KernelNamePlusV>(q, input, output, plus<>(), 0);
139-
test<class KernelNameMinimumV>(q, input, output, minimum<>(), std::numeric_limits<int>::max());
140-
test<class KernelNameMaximumV>(q, input, output, maximum<>(), std::numeric_limits<int>::lowest());
139+
test<class KernelNameMinimumV>(q, input, output, minimum<>(),
140+
std::numeric_limits<int>::max());
141+
test<class KernelNameMaximumV>(q, input, output, maximum<>(),
142+
std::numeric_limits<int>::lowest());
141143
#endif
142144
test<class KernelNamePlusI>(q, input, output, plus<int>(), 0);
143-
test<class KernelNameMinimumI>(q, input, output, minimum<int>(), std::numeric_limits<int>::max());
144-
test<class KernelNameMaximumI>(q, input, output, maximum<int>(), std::numeric_limits<int>::lowest());
145+
test<class KernelNameMinimumI>(q, input, output, minimum<int>(),
146+
std::numeric_limits<int>::max());
147+
test<class KernelNameMaximumI>(q, input, output, maximum<int>(),
148+
std::numeric_limits<int>::lowest());
145149

146150
std::cout << "Test passed." << std::endl;
147151
}

sycl/test/group-algorithm/reduce.cpp

Lines changed: 19 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -32,15 +32,17 @@ void test(queue q, InputContainer input, OutputContainer output,
3232
q.submit([&](handler &cgh) {
3333
auto in = in_buf.template get_access<access::mode::read>(cgh);
3434
auto out = out_buf.template get_access<access::mode::discard_write>(cgh);
35-
cgh.parallel_for<SpecializationKernelName>(nd_range<1>(G, G), [=](nd_item<1> it) {
36-
group<1> g = it.get_group();
37-
int lid = it.get_local_id(0);
38-
out[0] = reduce(g, in[lid], binary_op);
39-
out[1] = reduce(g, in[lid], init, binary_op);
40-
out[2] = reduce(g, in.get_pointer(), in.get_pointer() + N, binary_op);
41-
out[3] =
42-
reduce(g, in.get_pointer(), in.get_pointer() + N, init, binary_op);
43-
});
35+
cgh.parallel_for<SpecializationKernelName>(
36+
nd_range<1>(G, G), [=](nd_item<1> it) {
37+
group<1> g = it.get_group();
38+
int lid = it.get_local_id(0);
39+
out[0] = reduce(g, in[lid], binary_op);
40+
out[1] = reduce(g, in[lid], init, binary_op);
41+
out[2] =
42+
reduce(g, in.get_pointer(), in.get_pointer() + N, binary_op);
43+
out[3] = reduce(g, in.get_pointer(), in.get_pointer() + N, init,
44+
binary_op);
45+
});
4446
});
4547
}
4648
// std::reduce is not implemented yet, so use std::accumulate instead
@@ -70,12 +72,16 @@ int main() {
7072

7173
#if __cplusplus >= 201402L
7274
test<class KernelNamePlusV>(q, input, output, plus<>(), 0);
73-
test<class KernelNameMinimumV>(q, input, output, minimum<>(), std::numeric_limits<int>::max());
74-
test<class KernelNameMaximumV>(q, input, output, maximum<>(), std::numeric_limits<int>::lowest());
75+
test<class KernelNameMinimumV>(q, input, output, minimum<>(),
76+
std::numeric_limits<int>::max());
77+
test<class KernelNameMaximumV>(q, input, output, maximum<>(),
78+
std::numeric_limits<int>::lowest());
7579
#endif
7680
test<class KernelNamePlusI>(q, input, output, plus<int>(), 0);
77-
test<class KernelNameMinimumI>(q, input, output, minimum<int>(), std::numeric_limits<int>::max());
78-
test<class KernelNameMaximumI>(q, input, output, maximum<int>(), std::numeric_limits<int>::lowest());
81+
test<class KernelNameMinimumI>(q, input, output, minimum<int>(),
82+
std::numeric_limits<int>::max());
83+
test<class KernelNameMaximumI>(q, input, output, maximum<int>(),
84+
std::numeric_limits<int>::lowest());
7985

8086
std::cout << "Test passed." << std::endl;
8187
}

sycl/test/reduction/reduction_ctor.cpp

Lines changed: 43 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,10 @@ void test_reducer(Reduction &Redu, T Identity, BinaryOperation BOp, T A, T B) {
3333
"Wrong result of binary operation.");
3434
}
3535

36-
template <typename... Ts>
37-
class KernelNameGroup;
36+
template <typename... Ts> class KernelNameGroup;
3837

39-
template <typename SpecializationKernelName, typename T, int Dim, class BinaryOperation>
38+
template <typename SpecializationKernelName, typename T, int Dim,
39+
class BinaryOperation>
4040
void testKnown(T Identity, BinaryOperation BOp, T A, T B) {
4141
buffer<T, 1> ReduBuf(1);
4242

@@ -47,8 +47,7 @@ void testKnown(T Identity, BinaryOperation BOp, T A, T B) {
4747
accessor<T, Dim, access::mode::discard_write, access::target::global_buffer>
4848
ReduAcc(ReduBuf, CGH);
4949
auto Redu = intel::reduction(ReduAcc, BOp);
50-
assert(Redu.getIdentity() == Identity &&
51-
"Failed getIdentity() check().");
50+
assert(Redu.getIdentity() == Identity && "Failed getIdentity() check().");
5251
test_reducer(Redu, A, B);
5352
test_reducer(Redu, Identity, BOp, A, B);
5453

@@ -57,7 +56,8 @@ void testKnown(T Identity, BinaryOperation BOp, T A, T B) {
5756
});
5857
}
5958

60-
template <typename SpecializationKernelName, typename T, int Dim, typename KernelName, class BinaryOperation>
59+
template <typename SpecializationKernelName, typename T, int Dim,
60+
class BinaryOperation>
6161
void testUnknown(T Identity, BinaryOperation BOp, T A, T B) {
6262
buffer<T, 1> ReduBuf(1);
6363
queue Q;
@@ -67,8 +67,7 @@ void testUnknown(T Identity, BinaryOperation BOp, T A, T B) {
6767
accessor<T, Dim, access::mode::discard_write, access::target::global_buffer>
6868
ReduAcc(ReduBuf, CGH);
6969
auto Redu = intel::reduction(ReduAcc, Identity, BOp);
70-
assert(Redu.getIdentity() == Identity &&
71-
"Failed getIdentity() check().");
70+
assert(Redu.getIdentity() == Identity && "Failed getIdentity() check().");
7271
test_reducer(Redu, Identity, BOp, A, B);
7372

7473
// Command group must have at least one task in it. Use an empty one.
@@ -78,36 +77,51 @@ void testUnknown(T Identity, BinaryOperation BOp, T A, T B) {
7877

7978
template <typename SpecializationKernelName, typename T, class BinaryOperation>
8079
void testBoth(T Identity, BinaryOperation BOp, T A, T B) {
81-
testKnown<KernelNameGroup<SpecializationKernelName, class KernelName_SpronAvHpacKFL>, T, 0>(Identity, BOp, A, B);
82-
testKnown<KernelNameGroup<SpecializationKernelName, class KernelName_XFxrYatPJlU>, T, 1>(Identity, BOp, A, B);
83-
testUnknown<KernelNameGroup<SpecializationKernelName, class KernelName_oUFYMyQSlL>, T, 0, Unknown<T, 0, BinaryOperation>>(Identity, BOp, A, B);
84-
testUnknown<KernelNameGroup<SpecializationKernelName, class KernelName_Ndbp>, T, 1, Unknown<T, 1, BinaryOperation>>(Identity, BOp, A, B);
80+
testKnown<KernelNameGroup<SpecializationKernelName,
81+
class KernelName_SpronAvHpacKFL>,
82+
T, 0>(Identity, BOp, A, B);
83+
testKnown<
84+
KernelNameGroup<SpecializationKernelName, class KernelName_XFxrYatPJlU>,
85+
T, 1>(Identity, BOp, A, B);
86+
testUnknown<
87+
KernelNameGroup<SpecializationKernelName, class KernelName_oUFYMyQSlL>, T,
88+
0>(Identity, BOp, A, B);
89+
testUnknown<KernelNameGroup<SpecializationKernelName, class KernelName_Ndbp>,
90+
T, 1>(Identity, BOp, A, B);
8591
}
8692

8793
int main() {
88-
testBoth<class KernelName_DpWavJTNjhJtrHmLWt, int>(0, intel::plus<int>(), 1, 7);
94+
testBoth<class KernelName_DpWavJTNjhJtrHmLWt, int>(0, intel::plus<int>(), 1,
95+
7);
8996
testBoth<class KernelName_MHRtc, int>(1, std::multiplies<int>(), 1, 7);
90-
testBoth<class KernelName_eYhurMyKBZvzctmqwUZ, int>(0, intel::bit_or<int>(), 1, 8);
91-
testBoth<class KernelName_DpVPIUBjUMGZEwBFHH, int>(0, intel::bit_xor<int>(), 7, 3);
92-
testBoth<class KernelName_vGKFactgrkngMXd, int>(~0, intel::bit_and<int>(), 7, 3);
93-
testBoth<class KernelName_GLpknSBxclKWjm, int, intel::minimum<int>((std::numeric_limits<int>::max)(), intel::minimum<int>(), 7, 3);
94-
testBoth<class KernelName_EvOaOYQ, int, intel::maximum<int>((std::numeric_limits<int>::min)(), intel::maximum<int>(), 7, 3);
95-
96-
testBoth<class KernelName_iFbcoTtPeDtUEK, float>(0, intel::plus<float>(), 1, 7);
97-
testBoth<class KernelName_PEMJanstdNezDSXnP, float>(1, std::multiplies<float>(), 1, 7);
98-
testBoth<class KernelName_wOEuftXSjCLpoTOMrYHR, float>(getMaximumFPValue<float>(), intel::minimum<float>(), 7, 3);
99-
testBoth<class KernelName_HzFCIZQKeV, float>(getMinimumFPValue<float>(), intel::maximum<float>(), 7, 3);
100-
101-
testUnknown<class KernelName_sJOZPgFeiALyqwIWnFP, CustomVec<float>, 0,
102-
Unknown<CustomVec<float>, 0, CustomVecPlus<float>>>(
97+
testBoth<class KernelName_eYhurMyKBZvzctmqwUZ, int>(0, intel::bit_or<int>(),
98+
1, 8);
99+
testBoth<class KernelName_DpVPIUBjUMGZEwBFHH, int>(0, intel::bit_xor<int>(),
100+
7, 3);
101+
testBoth<class KernelName_vGKFactgrkngMXd, int>(~0, intel::bit_and<int>(), 7,
102+
3);
103+
testBoth<class KernelName_GLpknSBxclKWjm, int>(
104+
(std::numeric_limits<int>::max)(), intel::minimum<int>(), 7, 3);
105+
testBoth<class KernelName_EvOaOYQ, int>((std::numeric_limits<int>::min)(),
106+
intel::maximum<int>(), 7, 3);
107+
108+
testBoth<class KernelName_iFbcoTtPeDtUEK, float>(0, intel::plus<float>(), 1,
109+
7);
110+
testBoth<class KernelName_PEMJanstdNezDSXnP, float>(
111+
1, std::multiplies<float>(), 1, 7);
112+
testBoth<class KernelName_wOEuftXSjCLpoTOMrYHR, float>(
113+
getMaximumFPValue<float>(), intel::minimum<float>(), 7, 3);
114+
testBoth<class KernelName_HzFCIZQKeV, float>(getMinimumFPValue<float>(),
115+
intel::maximum<float>(), 7, 3);
116+
117+
testUnknown<class KernelName_sJOZPgFeiALyqwIWnFP, CustomVec<float>, 0>(
103118
CustomVec<float>(0), CustomVecPlus<float>(), CustomVec<float>(1),
104119
CustomVec<float>(7));
105-
testUnknown<class KernelName_jMA, CustomVec<float>, 1,
106-
Unknown<CustomVec<float>, 1, CustomVecPlus<float>>>(
120+
testUnknown<class KernelName_jMA, CustomVec<float>, 1>(
107121
CustomVec<float>(0), CustomVecPlus<float>(), CustomVec<float>(1),
108122
CustomVec<float>(7));
109123

110-
testUnknown<class KernelName_zhF, int, 0, class BitOrName>(
124+
testUnknown<class KernelName_zhF, int, 0>(
111125
0, [](auto a, auto b) { return a | b; }, 1, 8);
112126

113127
std::cout << "Test passed\n";

sycl/test/reduction/reduction_nd_conditional.cpp

Lines changed: 8 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -35,38 +35,30 @@ void initInputData(buffer<T, 1> &InBuf, T &ExpectedOut, T Identity,
3535
}
3636
};
3737

38-
template <typename T>
39-
struct Vec {
38+
template <typename T> struct Vec {
4039
Vec() : X(0), Y(0) {}
4140
Vec(T X, T Y) : X(X), Y(Y) {}
4241
Vec(T V) : X(V), Y(V) {}
43-
bool operator==(const Vec &P) const {
44-
return P.X == X && P.Y == Y;
45-
}
46-
bool operator!=(const Vec &P) const {
47-
return !(*this == P);
48-
}
42+
bool operator==(const Vec &P) const { return P.X == X && P.Y == Y; }
43+
bool operator!=(const Vec &P) const { return !(*this == P); }
4944
T X;
5045
T Y;
5146
};
52-
template <typename T>
53-
bool operator==(const Vec<T> &A, const Vec<T> &B) {
47+
template <typename T> bool operator==(const Vec<T> &A, const Vec<T> &B) {
5448
return A.X == B.X && A.Y == B.Y;
5549
}
5650
template <typename T>
5751
std::ostream &operator<<(std::ostream &OS, const Vec<T> &P) {
5852
return OS << "(" << P.X << ", " << P.Y << ")";
5953
}
6054

61-
template <class T>
62-
struct VecPlus {
55+
template <class T> struct VecPlus {
6356
using P = Vec<T>;
64-
P operator()(const P &A, const P &B) const {
65-
return P(A.X + B.X, A.Y + B.Y);
66-
}
57+
P operator()(const P &A, const P &B) const { return P(A.X + B.X, A.Y + B.Y); }
6758
};
6859

69-
template <typename SpecializationKernelName, typename T, int Dim, class BinaryOperation>
60+
template <typename SpecializationKernelName, typename T, int Dim,
61+
class BinaryOperation>
7062
void test(T Identity, size_t WGSize, size_t NWItems) {
7163
buffer<T, 1> InBuf(NWItems);
7264
buffer<T, 1> OutBuf(1);

sycl/test/reduction/reduction_nd_ext_type.hpp

Lines changed: 22 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88

99
using namespace cl::sycl;
1010

11-
template <typename SpecializationKernelName, typename T,
12-
int Dim, access::mode Mode, class BinaryOperation>
11+
template <typename SpecializationKernelName, typename T, int Dim,
12+
access::mode Mode, class BinaryOperation>
1313
void test(T Identity, size_t WGSize, size_t NWItems) {
1414
buffer<T, 1> InBuf(NWItems);
1515
buffer<T, 1> OutBuf(1);
@@ -26,8 +26,7 @@ void test(T Identity, size_t WGSize, size_t NWItems) {
2626
queue Q;
2727
Q.submit([&](handler &CGH) {
2828
auto In = InBuf.template get_access<access::mode::read>(CGH);
29-
accessor<T, Dim, Mode, access::target::global_buffer>
30-
Out(OutBuf, CGH);
29+
accessor<T, Dim, Mode, access::target::global_buffer> Out(OutBuf, CGH);
3130
auto Redu = intel::reduction(Out, Identity, BOp);
3231

3332
range<1> GlobalRange(NWItems);
@@ -42,35 +41,42 @@ void test(T Identity, size_t WGSize, size_t NWItems) {
4241
// Check correctness.
4342
auto Out = OutBuf.template get_access<access::mode::read>();
4443
T ComputedOut = *(Out.get_pointer());
45-
T MaxDiff = 3 * std::numeric_limits<T>::epsilon() * std::fabs(ComputedOut + CorrectOut);
44+
T MaxDiff = 3 * std::numeric_limits<T>::epsilon() *
45+
std::fabs(ComputedOut + CorrectOut);
4646
if (std::fabs(static_cast<T>(ComputedOut - CorrectOut)) > MaxDiff) {
4747
std::cout << "NWItems = " << NWItems << ", WGSize = " << WGSize << "\n";
4848
std::cout << "Computed value: " << ComputedOut
49-
<< ", Expected value: " << CorrectOut
50-
<< ", MaxDiff = " << MaxDiff << "\n";
49+
<< ", Expected value: " << CorrectOut << ", MaxDiff = " << MaxDiff
50+
<< "\n";
5151
assert(0 && "Wrong value.");
5252
}
5353
}
5454

55-
template <typename T>
56-
int runTests(const string_class &ExtensionName) {
55+
template <typename T> int runTests(const string_class &ExtensionName) {
5756
device D = default_selector().select_device();
5857
if (!D.is_host() && !D.has_extension(ExtensionName)) {
5958
std::cout << "Test skipped\n";
6059
return 0;
6160
}
6261

6362
// Check some less standards WG sizes and corner cases first.
64-
test<class KernelName_oTh, T, 1, access::mode::read_write, std::multiplies<T>>(0, 4, 4);
65-
test<class KernelName_QUQnMARQT, T, 0, access::mode::discard_write, intel::plus<T>>(0, 4, 64);
63+
test<class KernelName_oTh, T, 1, access::mode::read_write,
64+
std::multiplies<T>>(0, 4, 4);
65+
test<class KernelName_QUQnMARQT, T, 0, access::mode::discard_write,
66+
intel::plus<T>>(0, 4, 64);
6667

67-
test<class KernelName_xGixNo, T, 0, access::mode::read_write, intel::minimum<T>>(getMaximumFPValue<T>(), 7, 7);
68-
test<class KernelName_qXNFw, T, 1, access::mode::discard_write, intel::maximum<T>>(getMinimumFPValue<T>(), 7, 7 * 5);
68+
test<class KernelName_xGixNo, T, 0, access::mode::read_write,
69+
intel::minimum<T>>(getMaximumFPValue<T>(), 7, 7);
70+
test<class KernelName_qXNFw, T, 1, access::mode::discard_write,
71+
intel::maximum<T>>(getMinimumFPValue<T>(), 7, 7 * 5);
6972

7073
#if __cplusplus >= 201402L
71-
test<class KernelName_lXdWtzANdDcvm, T, 1, access::mode::read_write, intel::plus<>>(1, 3, 3 * 5);
72-
test<class KernelName_FDQalsDxmbi, T, 1, access::mode::discard_write, intel::minimum<>>(getMaximumFPValue<T>(), 3, 3);
73-
test<class KernelName_TaNRRxDRXbzYrFImPYC, T, 0, access::mode::discard_write, intel::maximum<>>(getMinimumFPValue<T>(), 3, 3);
74+
test<class KernelName_lXdWtzANdDcvm, T, 1, access::mode::read_write,
75+
intel::plus<>>(1, 3, 3 * 5);
76+
test<class KernelName_FDQalsDxmbi, T, 1, access::mode::discard_write,
77+
intel::minimum<>>(getMaximumFPValue<T>(), 3, 3);
78+
test<class KernelName_TaNRRxDRXbzYrFImPYC, T, 0, access::mode::discard_write,
79+
intel::maximum<>>(getMinimumFPValue<T>(), 3, 3);
7480
#endif // __cplusplus >= 201402L
7581

7682
std::cout << "Test passed\n";

sycl/test/reduction/reduction_nd_s0_dw.cpp

Lines changed: 18 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@
1616

1717
using namespace cl::sycl;
1818

19-
template <typename SpecializationKernelName, typename T, int Dim, class BinaryOperation>
19+
template <typename SpecializationKernelName, typename T, int Dim,
20+
class BinaryOperation>
2021
void test(T Identity, size_t WGSize, size_t NWItems) {
2122
buffer<T, 1> InBuf(NWItems);
2223
buffer<T, 1> OutBuf(1);
@@ -64,8 +65,10 @@ int main() {
6465
// Try some power-of-two work-group sizes.
6566
test<class KernelName_BBFqAKecrI, int, 0, intel::plus<int>>(0, 2, 64);
6667
test<class KernelName_HMUbvvJOFTCETQHk, int, 0, intel::plus<int>>(0, 4, 64);
67-
test<class KernelName_JocyLVjSXVPjdkezas, int, 0, intel::plus<int>>(0, 8, 128);
68-
test<class KernelName_vXMabsyZtboaYDgkmuW, int, 0, intel::plus<int>>(0, 16, 256);
68+
test<class KernelName_JocyLVjSXVPjdkezas, int, 0, intel::plus<int>>(0, 8,
69+
128);
70+
test<class KernelName_vXMabsyZtboaYDgkmuW, int, 0, intel::plus<int>>(0, 16,
71+
256);
6972
test<class KernelName_jmOMSDBPkCezwz, int, 0, intel::plus<int>>(0, 32, 256);
7073
test<class KernelName_BZD, int, 0, intel::plus<int>>(0, 64, 256);
7174
test<class KernelName_xAMTrtueBCmu, int, 0, intel::plus<int>>(0, 128, 256);
@@ -76,16 +79,22 @@ int main() {
7679
test<class KernelName_yxrYAlH, int, 0, intel::bit_or<int>>(0, 8, 256);
7780
test<class KernelName_bclQP, int, 0, intel::bit_xor<int>>(0, 8, 256);
7881
test<class KernelName_SEfBIfWrrGb, int, 0, intel::bit_and<int>>(~0, 8, 256);
79-
test<class KernelName_dVCBKeW, int, 0, intel::minimum<int>>((std::numeric_limits<int>::max)(), 8, 256);
80-
test<class KernelName_kFuGbwFvu, int, 0, intel::maximum<int>>((std::numeric_limits<int>::min)(), 8, 256);
82+
test<class KernelName_dVCBKeW, int, 0, intel::minimum<int>>(
83+
(std::numeric_limits<int>::max)(), 8, 256);
84+
test<class KernelName_kFuGbwFvu, int, 0, intel::maximum<int>>(
85+
(std::numeric_limits<int>::min)(), 8, 256);
8186

8287
// Check with various types.
83-
test<class KernelName_UjmZVKjKReluws, float, 0, std::multiplies<float>>(1, 8, 256);
84-
test<class KernelName_OszhECIDUagcinKGeWO, float, 0, intel::minimum<float>>(getMaximumFPValue<float>(), 8, 256);
85-
test<class KernelName_LpCicWZckILZRxZP, float, 0, intel::maximum<float>>(getMinimumFPValue<float>(), 8, 256);
88+
test<class KernelName_UjmZVKjKReluws, float, 0, std::multiplies<float>>(1, 8,
89+
256);
90+
test<class KernelName_OszhECIDUagcinKGeWO, float, 0, intel::minimum<float>>(
91+
getMaximumFPValue<float>(), 8, 256);
92+
test<class KernelName_LpCicWZckILZRxZP, float, 0, intel::maximum<float>>(
93+
getMinimumFPValue<float>(), 8, 256);
8694

8795
// Check with CUSTOM type.
88-
test<class KernelName_puwIibWWpn, CustomVec<long long>, 0, CustomVecPlus<long long>>(CustomVec<long long>(0), 8, 256);
96+
test<class KernelName_puwIibWWpn, CustomVec<long long>, 0,
97+
CustomVecPlus<long long>>(CustomVec<long long>(0), 8, 256);
8998

9099
std::cout << "Test passed\n";
91100
return 0;

0 commit comments

Comments
 (0)