You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The CUDA implementation of the SYCL image sampler is not correctly supporting mirror or repeat addressing modes when using normalized coordinates.
To Reproduce
Most of the sampler test listed here: intel/llvm-test-suite#249 can be used to demonstrate this problem. For completeness, the code for 'normalized-repeat-nearest.cpp' is included below.
To compile:
clang++ -fsycl -fsycl-targets=nvptx64-nvidia-cuda-sycldevice -o nrn.bin normalized-repeat-nearest.cpp
To run
SYCL_DEVICE_FILTER=cuda:gpu ./nrn.bin
The CUDA implementation of the SYCL image sampler is not correctly supporting
mirror or repeat addressing modes when using normalized coordinates.
The comments at each read in the code as well as the expectations at the end of the 'normalized-repeat-nearest.cpp' demonstrate the values we should be seeing . What we are seeing now is just the same pixel value in all cases.
For example,
We should see this output for Normalized Repeat Nearest:
Image implementation is being reworked as part of bringing SYCL bindless image support, the issue will be resolved as part of this work, I can't commit to a date at this stage, sorry.
The CUDA implementation of the SYCL image sampler is not correctly supporting mirror or repeat addressing modes when using normalized coordinates.
To Reproduce
Most of the sampler test listed here: intel/llvm-test-suite#249 can be used to demonstrate this problem. For completeness, the code for 'normalized-repeat-nearest.cpp' is included below.
To compile:
clang++ -fsycl -fsycl-targets=nvptx64-nvidia-cuda-sycldevice -o nrn.bin normalized-repeat-nearest.cpp
To run
SYCL_DEVICE_FILTER=cuda:gpu ./nrn.bin
The CUDA implementation of the SYCL image sampler is not correctly supporting
mirror or repeat addressing modes when using normalized coordinates.
The comments at each read in the code as well as the expectations at the end of the 'normalized-repeat-nearest.cpp' demonstrate the values we should be seeing . What we are seeing now is just the same pixel value in all cases.
For example,
We should see this output for Normalized Repeat Nearest:
But instead we see this:
Here is normalized-repeat-nearest.cpp
The text was updated successfully, but these errors were encountered: