Skip to content
Merged
Show file tree
Hide file tree
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
4 changes: 2 additions & 2 deletions sycl/test-e2e/bindless_images/image_get_info.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ int main() {
std::cout << "bindless_images_support: " << bindlessSupport
<< "\nbindless_images_shared_usm_support: "
<< bindlessSharedUsmSupport
<< "\nbindless_images_1d_usm_support: " 1dS
<< "\nbindless_images_2d_usm_support: " << S << "\n";
<< "\nbindless_images_1d_usm_support: " << usm1dSupport
<< "\nbindless_images_2d_usm_support: " << usm2dSupport << "\n";
#endif

// Extension: get pitch alignment information from device -- device info
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ int main() {
if (mismatch) {
#ifdef VERBOSE_PRINT
std::cout << "Result mismatch! Expected: " << expected[i]
<< ", Actual: " << out[i][0] << std::endl;
<< ", Actual: " << out[i] << std::endl;
#else
break;
#endif
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ int main() {
if (mismatch) {
#ifdef VERBOSE_PRINT
std::cout << "Result mismatch! Expected: " << expected[i]
<< ", Actual: " << out[i][0] << std::endl;
<< ", Actual: " << out[i] << std::endl;
#else
break;
#endif
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,9 @@ int main() {
size_t dim2 = it.get_local_id(2);

// Address outside dimension domain
float fdim0 = float(dim0 + width + 0.5) / (float)width;
float fdim1 = float(dim1 + height + 0.5) / (float)height;
float fdim2 = float(dim2 + depth + 0.5) / (float)depth;
float fdim0 = float(dim0 + width + 0.5f) / (float)width;
float fdim1 = float(dim1 + height + 0.5f) / (float)height;
float fdim2 = float(dim2 + depth + 0.5f) / (float)depth;

// Extension: sample image data from handle
float px1 = syclexp::sample_image<float>(
Expand Down