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 OpenCL log function gives wrong answer when the kernel code is compiled with -noshared option. The example seems to work when I use CLOC version 1.0.10.
How to reproduce: Use different CLOC compiler version with or without -noshared flag
A log-testcase.tar.gz which I modified from vector_copy_codeobject_rocm is attached.
I haven't tested other builtin math function like sqrt used in my own kernel. I'll update the issue if I find there is a bug in other builtin math function.
Thanks,
Li
The text was updated successfully, but these errors were encountered:
Hi developers,
The OpenCL
log
function gives wrong answer when the kernel code is compiled with-noshared
option. The example seems to work when I use CLOC version 1.0.10.How to reproduce: Use different CLOC compiler version with or without
-noshared
flagExpected output:
[Use CLOC 1.0.10. compiler option:
cloc.sh vector_copy_codeobject.cl
][Use the latest CLOC 1.0.14,
cloc.sh -noshared vector_copy_codeobject.cl
]A log-testcase.tar.gz which I modified from vector_copy_codeobject_rocm is attached.
I haven't tested other builtin math function like
sqrt
used in my own kernel. I'll update the issue if I find there is a bug in other builtin math function.Thanks,
Li
The text was updated successfully, but these errors were encountered: