File tree Expand file tree Collapse file tree 11 files changed +3
-26
lines changed
test/e2e_test_requirements
test-e2e/DeviceImageDependencies Expand file tree Collapse file tree 11 files changed +3
-26
lines changed Original file line number Diff line number Diff line change 1
1
// Test -fsycl-allow-device-image-dependencies with dynamic libraries.
2
2
3
- // UNSUPPORTED: target-nvidia || target-amd
4
- // UNSUPPORTED-INTENDED: Not implemented yet for Nvidia/AMD backends.
5
-
6
3
// DEFINE: %{dynamic_lib_options} = -fsycl %fPIC %shared_lib -fsycl-allow-device-image-dependencies -I %S/Inputs %if windows %{-DMAKE_DLL %}
7
4
// DEFINE: %{dynamic_lib_suffix} = %if windows %{dll%} %else %{so%}
8
5
Original file line number Diff line number Diff line change 1
1
// REQUIRES: aspect-fp64
2
- // UNSUPPORTED: target-amd || target-nvidia
3
- // UNSUPPORTED-INTENDED: Not implemented yet for Nvidia/AMD backends.
4
2
5
3
// DEFINE: %{mathflags} = %if cl_options %{/clang:-fno-fast-math%} %else %{-fno-fast-math%}
6
4
Original file line number Diff line number Diff line change 1
1
// Test -fsycl-allow-device-image-dependencies with objects.
2
2
3
- // UNSUPPORTED: target-nvidia || target-amd
4
- // UNSUPPORTED-INTENDED: Not implemented yet for Nvidia/AMD backends.
5
-
6
3
// RUN: %clangxx --offload-new-driver -fsycl %S/Inputs/a.cpp -I %S/Inputs -c -o %t_a.o
7
4
// RUN: %clangxx --offload-new-driver -fsycl %S/Inputs/b.cpp -I %S/Inputs -c -o %t_b.o
8
5
// RUN: %clangxx --offload-new-driver -fsycl %S/Inputs/c.cpp -I %S/Inputs -c -o %t_c.o
Original file line number Diff line number Diff line change 1
1
// Test -fsycl-allow-device-image-dependencies with a single dynamic library on
2
2
// Windows and Linux.
3
3
4
- // UNSUPPORTED: target-nvidia || target-amd
5
- // UNSUPPORTED-INTENDED: Not implemented yet for Nvidia/AMD backends.
6
-
7
4
// RUN: %clangxx --offload-new-driver -fsycl %fPIC %shared_lib -fsycl-allow-device-image-dependencies -I %S/Inputs \
8
5
// RUN: %S/Inputs/a.cpp \
9
6
// RUN: %S/Inputs/b.cpp \
Original file line number Diff line number Diff line change 1
1
// Test -fsycl-allow-device-image-dependencies with dynamic libraries.
2
2
3
- // UNSUPPORTED: target-nvidia || target-amd
4
-
5
3
// DEFINE: %{dynamic_lib_options} = -fsycl %fPIC %shared_lib -fsycl-allow-device-image-dependencies -I %S/Inputs %if windows %{-DMAKE_DLL %}
6
4
// DEFINE: %{dynamic_lib_suffix} = %if windows %{dll%} %else %{so%}
7
5
Original file line number Diff line number Diff line change 1
1
// Test device image linking when using dynamic libraries when one of
2
2
// the device image is compressed and the other is not.
3
3
4
- // UNSUPPORTED: target-nvidia || target-amd
5
- // UNSUPPORTED-INTENDED: Linking using dynamic libraries is not supported on AMD
6
- // and Nvidia.
7
4
// REQUIRES: zstd
8
5
9
6
// DEFINE: %{dynamic_lib_options} = -fsycl %fPIC %shared_lib -fsycl-allow-device-image-dependencies -I %S/Inputs %if windows %{-DMAKE_DLL %}
Original file line number Diff line number Diff line change
1
+ # Device image dependencies aren't supported on Nvidia and AMD
2
+ config.unsupported_features += [' target-nvidia' , ' target-amd' ]
Original file line number Diff line number Diff line change 1
1
// REQUIRES: aspect-fp64
2
- // UNSUPPORTED: target-amd || target-nvidia
3
2
4
3
// DEFINE: %{mathflags} = %if cl_options %{/clang:-fno-fast-math%} %else %{-fno-fast-math%}
5
4
Original file line number Diff line number Diff line change 1
1
// Test -fsycl-allow-device-image-dependencies with objects.
2
2
3
- // UNSUPPORTED: target-nvidia || target-amd
4
-
5
3
// RUN: %clangxx -fsycl %S/Inputs/a.cpp -I %S/Inputs -c -o %t_a.o
6
4
// RUN: %clangxx -fsycl %S/Inputs/b.cpp -I %S/Inputs -c -o %t_b.o
7
5
// RUN: %clangxx -fsycl %S/Inputs/c.cpp -I %S/Inputs -c -o %t_c.o
Original file line number Diff line number Diff line change 1
1
// Test -fsycl-allow-device-image-dependencies with a single dynamic library on Windows
2
2
// and Linux.
3
3
4
- // UNSUPPORTED: target-nvidia || target-amd
5
-
6
4
// RUN: %clangxx -fsycl %fPIC %shared_lib -fsycl-allow-device-image-dependencies -I %S/Inputs \
7
5
// RUN: %S/Inputs/a.cpp \
8
6
// RUN: %S/Inputs/b.cpp \
Original file line number Diff line number Diff line change 54
54
// tests to match the required format and in that case you should just update
55
55
// (i.e. reduce) the number and the list below.
56
56
//
57
- // NUMBER-OF-UNSUPPORTED-WITHOUT-INFO: 252
57
+ // NUMBER-OF-UNSUPPORTED-WITHOUT-INFO: 248
58
58
//
59
59
// List of improperly UNSUPPORTED tests.
60
60
// Remove the CHECK once the test has been properly UNSUPPORTED.
92
92
// CHECK-NEXT: Basic/kernel_info_attr.cpp
93
93
// CHECK-NEXT: Basic/submit_time.cpp
94
94
// CHECK-NEXT: DeprecatedFeatures/DiscardEvents/discard_events_using_assert.cpp
95
- // CHECK-NEXT: DeviceImageDependencies/dynamic.cpp
96
- // CHECK-NEXT: DeviceImageDependencies/math_device_lib.cpp
97
- // CHECK-NEXT: DeviceImageDependencies/objects.cpp
98
- // CHECK-NEXT: DeviceImageDependencies/singleDynamicLibrary.cpp
99
95
// CHECK-NEXT: DeviceLib/built-ins/printf.cpp
100
96
// CHECK-NEXT: DeviceLib/cmath-aot.cpp
101
97
// CHECK-NEXT: DeviceLib/imf_bfloat16_integeral_convesions.cpp
You can’t perform that action at this time.
0 commit comments