File tree Expand file tree Collapse file tree 2 files changed +8
-7
lines changed
sycl/test-e2e/bindless_images Expand file tree Collapse file tree 2 files changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -65,17 +65,17 @@ int main() {
65
65
// values are correct
66
66
// But we should at least see that the query itself works
67
67
auto pitch_align = dev.get_info <
68
- sycl::ext::oneapi::experimental::info::device::image_pitch_align >();
68
+ sycl::ext::oneapi::experimental::info::device::image_row_pitch_align >();
69
69
auto max_pitch = dev.get_info <sycl::ext::oneapi::experimental::info::
70
- device::max_image_linear_pitch >();
70
+ device::max_image_linear_row_pitch >();
71
71
auto max_width = dev.get_info <sycl::ext::oneapi::experimental::info::
72
72
device::max_image_linear_width>();
73
73
auto max_height = dev.get_info <sycl::ext::oneapi::experimental::info::
74
74
device::max_image_linear_height>();
75
75
76
76
#ifdef VERBOSE_PRINT
77
- std::cout << " image_pitch_align : " << pitch_align
78
- << " \n max_image_linear_pitch : " << max_pitch
77
+ std::cout << " image_row_pitch_align : " << pitch_align
78
+ << " \n max_image_linear_row_pitch : " << max_pitch
79
79
<< " \n max_image_linear_width: " << max_width
80
80
<< " \n max_image_linear_height: " << max_height << " \n " ;
81
81
#endif
Original file line number Diff line number Diff line change @@ -54,9 +54,10 @@ int main() {
54
54
sycl::image_channel_type::fp32);
55
55
56
56
auto device_pitch_align = dev.get_info <
57
- sycl::ext::oneapi::experimental::info::device::image_pitch_align>();
58
- auto device_max_pitch = dev.get_info <sycl::ext::oneapi::experimental::info::
59
- device::max_image_linear_pitch>();
57
+ sycl::ext::oneapi::experimental::info::device::image_row_pitch_align>();
58
+ auto device_max_pitch =
59
+ dev.get_info <sycl::ext::oneapi::experimental::info::device::
60
+ max_image_linear_row_pitch>();
60
61
61
62
// Pitch requirements:
62
63
// - pitch % device_pitch_align == 0
You can’t perform that action at this time.
0 commit comments