Skip to content

[syclcompat][E2E] Skip case in math_vectorized_isgreater_test if fp16 unsupported #14596

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,15 @@ void test_vec_gt_2() {
syclcompat::device_ext &dev_ct1 = syclcompat::get_current_device();
sycl::queue *q_ct1 = dev_ct1.default_queue();

// This test uses vector of sycl::half, which requires support for fp16 on
// the corresponding device.
if (!dev_ct1.has(sycl::aspect::fp16)) {
std::cout
<< "Test case skipped as the device does not support aspect::fp16."
<< std::endl;
return;
}

const unsigned int num_data = 7;
unsigned int mem_size = sizeof(unsigned int) * num_data;

Expand Down
Loading