Skip to content

Commit 9ee8886

Browse files
committed
Targets to test.
1 parent 1f78997 commit 9ee8886

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

python/tvm/testing/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1000,7 +1000,7 @@ def _check_opencl_vulkan():
10001000
"opencl_vulkan",
10011001
"OpenCL or Vulkan",
10021002
run_time_check=_check_opencl_vulkan,
1003-
parent_features=["opencl", "vulkan"],
1003+
parent_features=["opencl", "gpu"],
10041004
)
10051005

10061006
# Mark a test as requiring NNAPI support in build.

tests/scripts/task_python_unittest_gpuonly.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ run_pytest ${TVM_UNITTEST_TESTSUITE_NAME}-1 tests/python/codegen/test_target_cod
3838

3939
# Adreno : A comprehensive Texture tests on Nvidia GPU and clml codegen tests.
4040
export PYTEST_ADDOPTS=""
41-
export TVM_TEST_TARGETS="opencl"
41+
export TVM_TEST_TARGETS="opencl,vulkan -from_device=0"
4242
export TVM_UNITTEST_TESTSUITE_NAME=python-codegen-clml-texture
4343

4444
source tests/scripts/setup-pytest-env.sh

0 commit comments

Comments
 (0)