File tree Expand file tree Collapse file tree 4 files changed +7
-7
lines changed
sycl/test-e2e/bindless_images Expand file tree Collapse file tree 4 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -57,8 +57,8 @@ int main() {
57
57
std::cout << " bindless_images_support: " << bindlessSupport
58
58
<< " \n bindless_images_shared_usm_support: "
59
59
<< bindlessSharedUsmSupport
60
- << " \n bindless_images_1d_usm_support: " 1dS
61
- << " \n bindless_images_2d_usm_support: " << S << " \n " ;
60
+ << " \n bindless_images_1d_usm_support: " << usm1dSupport
61
+ << " \n bindless_images_2d_usm_support: " << usm2dSupport << " \n " ;
62
62
#endif
63
63
64
64
// Extension: get pitch alignment information from device -- device info
Original file line number Diff line number Diff line change @@ -121,7 +121,7 @@ int main() {
121
121
if (mismatch) {
122
122
#ifdef VERBOSE_PRINT
123
123
std::cout << " Result mismatch! Expected: " << expected[i]
124
- << " , Actual: " << out[i][ 0 ] << std::endl;
124
+ << " , Actual: " << out[i] << std::endl;
125
125
#else
126
126
break ;
127
127
#endif
Original file line number Diff line number Diff line change @@ -138,7 +138,7 @@ int main() {
138
138
if (mismatch) {
139
139
#ifdef VERBOSE_PRINT
140
140
std::cout << " Result mismatch! Expected: " << expected[i]
141
- << " , Actual: " << out[i][ 0 ] << std::endl;
141
+ << " , Actual: " << out[i] << std::endl;
142
142
#else
143
143
break ;
144
144
#endif
Original file line number Diff line number Diff line change @@ -86,9 +86,9 @@ int main() {
86
86
size_t dim2 = it.get_local_id (2 );
87
87
88
88
// Address outside dimension domain
89
- float fdim0 = float (dim0 + width + 0.5 ) / (float )width;
90
- float fdim1 = float (dim1 + height + 0.5 ) / (float )height;
91
- float fdim2 = float (dim2 + depth + 0.5 ) / (float )depth;
89
+ float fdim0 = float (dim0 + width + 0 .5f ) / (float )width;
90
+ float fdim1 = float (dim1 + height + 0 .5f ) / (float )height;
91
+ float fdim2 = float (dim2 + depth + 0 .5f ) / (float )depth;
92
92
93
93
// Extension: sample image data from handle
94
94
float px1 = syclexp::sample_image<float >(
You can’t perform that action at this time.
0 commit comments