Skip to content

Commit

Permalink
[vulkan] Change the feature version requirement to v1.3 for correctne…
Browse files Browse the repository at this point in the history
…ss_gpu_dynamic_shared (halide#7577)

Change the feature version requirement to v1.3 (since v1.2 lacks the necessary support).

Co-authored-by: Derek Gerstmann <[email protected]>
  • Loading branch information
2 people authored and ardier committed Mar 3, 2024
1 parent 94effd0 commit 6966caa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/correctness/gpu_dynamic_shared.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ int main(int argc, char **argv) {
assert(interface->compute_capability != nullptr);
int major, minor;
int err = interface->compute_capability(nullptr, &major, &minor);
if (err != 0 || (major == 1 && minor < 2)) {
printf("[SKIP] Vulkan %d.%d is less than required 1.2.\n", major, minor);
if (err != 0 || (major == 1 && minor < 3)) {
printf("[SKIP] Vulkan %d.%d is less than required 1.3.\n", major, minor);
return 0;
}
if ((t.os == Target::IOS) || (t.os == Target::OSX)) {
Expand Down

0 comments on commit 6966caa

Please sign in to comment.