Skip to content

Commit

Permalink
[test] Test real function on enabling the offline cache (taichi-dev#6523
Browse files Browse the repository at this point in the history
)

Issue: taichi-dev#4401

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
2 people authored and quadpixels committed May 13, 2023
1 parent 6f187dc commit 191da4e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/python/test_offline_cache.py
Original file line number Diff line number Diff line change
Expand Up @@ -548,8 +548,8 @@ def added_files(arch):


# FIXME: Change to `supported_archs_offline_cache` after fixing bugs of real-function on gpu
@pytest.mark.parametrize(
'curr_arch', [ti.cpu] if ti.cpu in test_utils.expected_archs() else [])
@pytest.mark.parametrize('curr_arch',
{ti.cpu, ti.cuda} & supported_archs_offline_cache)
@_test_offline_cache_dec
def test_offline_cache_for_kernels_calling_real_func(curr_arch):
count_of_cache_file = cache_files_cnt(curr_arch)
Expand Down

0 comments on commit 191da4e

Please sign in to comment.