-
Notifications
You must be signed in to change notification settings - Fork 822
[SYCL][Bindless Image] __nvvm_tex_3d_v4f16_f32 function is probably not tested #21620
Copy link
Copy link
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
#21586 fixes warnings in libspirv and exposed an issue in file libclc/libspirv/lib/ptx-nvidiacl/images/image.cl:
@@ -2576,7 +2582,7 @@ __nvvm_tex_2d_v4f16_f32(unsigned long imageHandle, float x, float y) {
__attribute__((always_inline)) half4
__nvvm_tex_3d_v4f16_f32(unsigned long imageHandle, float x, float y, float z) {
- float4 a = __nvvm_tex_1d_v4f32_f32(imageHandle, x);
+ float4 a = __nvvm_tex_3d_v4f32_f32(imageHandle, x, y, z);
return cast_float4_to_half4(a);
}
It looks like function __nvvm_tex_3d_v4f16_f32 wasn't correctly implemented before. Not sure if this is covered by another issue or the function is not tested at all.
File this issue to address the test coverage of this function.
To reproduce
- Include a code snippet that is as short as possible
- Specify the command which should be used to compile the program
- Specify the command which should be used to launch the program
- Indicate what is wrong and what was expected
Environment
- OS: [e.g Windows/Linux]
- Target device and vendor: [e.g. Intel GPU]
- DPC++ version: [e.g. commit hash or output of
clang++ --version] - Dependencies version: [e.g. the output of
sycl-ls --verbose]
Additional context
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working