Skip to content

Commit 28569aa

Browse files
committed
Revert "Fix E2E failures"
This reverts commit 8723efe.
1 parent 8723efe commit 28569aa

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

sycl/test-e2e/FreeFunctionKernels/template_specialization.cpp

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,18 @@ void F<float>(int X) {
9393
volatile float Y = static_cast<float>(X);
9494
}
9595

96+
template <typename... Args>
97+
SYCL_EXT_ONEAPI_FUNCTION_PROPERTY(
98+
(ext::oneapi::experimental::single_task_kernel))
99+
void variadic_templated(Args... args) {}
100+
101+
template <>
102+
SYCL_EXT_ONEAPI_FUNCTION_PROPERTY(
103+
(ext::oneapi::experimental::single_task_kernel))
104+
void variadic_templated<double>(double b) {
105+
b = 20.0f;
106+
}
107+
96108
template <auto *Func, typename T> void test_func() {
97109
queue Q;
98110
kernel_bundle bundle =
@@ -161,6 +173,7 @@ int main() {
161173
test_func_custom_type<A::B::C::TestClass>();
162174
test_func<F<float>, float>();
163175
test_func<F<uint32_t>, uint32_t>();
176+
test_func<variadic_templated<double>, double>();
164177
test_func<sum1<3, float>, float>();
165178
test_accessor();
166179
test_shared();

0 commit comments

Comments
 (0)