Skip to content

Commit 026d4ea

Browse files
authored
[SYCL] Enable free functions tests for CUDA/HIP (#18379)
Free functions kernels have been fixed on CUDA since #17899 but it seems re-enabling these as missed. They've also been supported on HIP for a while and `address_test.cpp` passes as well. So this patch enables all the remaining free functions tests for both backends.
1 parent fd6f6a2 commit 026d4ea

File tree

5 files changed

+0
-20
lines changed

5 files changed

+0
-20
lines changed

sycl/test-e2e/Experimental/free_functions/address_test.cpp

-4
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
11
// RUN: %{build} -o %t.out
22
// RUN: %{run} %t.out
33

4-
// The name mangling for free function kernels currently does not work with PTX.
5-
// UNSUPPORTED: cuda, hip
6-
// UNSUPPORTED-INTENDED: Not implemented yet for Nvidia/AMD backends.
7-
84
#include <sycl/detail/core.hpp>
95
#include <sycl/ext/oneapi/free_function_queries.hpp>
106
#include <sycl/kernel_bundle.hpp>

sycl/test-e2e/Experimental/free_functions/namespace.cpp

-4
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,6 @@
22
// RUN: %{build} %cxx_std_optionc++20 -o %t.out
33
// RUN: %{run} %t.out
44

5-
// The name mangling for free function kernels currently does not work with PTX.
6-
// UNSUPPORTED: cuda
7-
// UNSUPPORTED-INTENDED: Not implemented yet for Nvidia/AMD backends.
8-
95
#include <sycl/detail/core.hpp>
106
#include <sycl/ext/oneapi/free_function_queries.hpp>
117
#include <sycl/kernel_bundle.hpp>

sycl/test-e2e/Experimental/free_functions/templates_cpp_integral_type.cpp

-4
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,6 @@
22
// RUN: %{build} -o %t.out
33
// RUN: %{run} %t.out
44

5-
// The name mangling for free function kernels currently does not work with PTX.
6-
// UNSUPPORTED: cuda
7-
// UNSUPPORTED-INTENDED: Not implemented yet for Nvidia/AMD backends.
8-
95
#include <sycl/detail/core.hpp>
106
#include <sycl/ext/oneapi/free_function_queries.hpp>
117
#include <sycl/kernel_bundle.hpp>

sycl/test-e2e/Experimental/free_functions/templates_cpp_non_integral_type.cpp

-4
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,6 @@
22
// RUN: %{build} %cxx_std_optionc++20 -o %t.out
33
// RUN: %{run} %t.out
44

5-
// The name mangling for free function kernels currently does not work with PTX.
6-
// UNSUPPORTED: cuda
7-
// UNSUPPORTED-INTENDED: Not implemented yet for Nvidia/AMD backends.
8-
95
#include <sycl/detail/core.hpp>
106
#include <sycl/ext/oneapi/free_function_queries.hpp>
117
#include <sycl/kernel_bundle.hpp>

sycl/test-e2e/Experimental/free_functions/templates_variadic.cpp

-4
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,6 @@
22
// RUN: %{build} -DNDEBUG -o %t.out
33
// RUN: %{run} %t.out
44

5-
// The name mangling for free function kernels currently does not work with PTX.
6-
// UNSUPPORTED: cuda
7-
// UNSUPPORTED-INTENDED: Not implemented yet for Nvidia/AMD backends.
8-
95
#include <cassert>
106
#include <sycl/detail/core.hpp>
117
#include <sycl/ext/oneapi/free_function_queries.hpp>

0 commit comments

Comments
 (0)