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() {
5757 std::cout << " bindless_images_support: " << bindlessSupport
5858 << " \n bindless_images_shared_usm_support: "
5959 << 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 " ;
6262#endif
6363
6464 // 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() {
121121 if (mismatch) {
122122#ifdef VERBOSE_PRINT
123123 std::cout << " Result mismatch! Expected: " << expected[i]
124- << " , Actual: " << out[i][ 0 ] << std::endl;
124+ << " , Actual: " << out[i] << std::endl;
125125#else
126126 break ;
127127#endif
Original file line number Diff line number Diff line change @@ -138,7 +138,7 @@ int main() {
138138 if (mismatch) {
139139#ifdef VERBOSE_PRINT
140140 std::cout << " Result mismatch! Expected: " << expected[i]
141- << " , Actual: " << out[i][ 0 ] << std::endl;
141+ << " , Actual: " << out[i] << std::endl;
142142#else
143143 break ;
144144#endif
Original file line number Diff line number Diff line change @@ -86,9 +86,9 @@ int main() {
8686 size_t dim2 = it.get_local_id (2 );
8787
8888 // 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;
9292
9393 // Extension: sample image data from handle
9494 float px1 = syclexp::sample_image<float >(
You can’t perform that action at this time.
0 commit comments