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
Incorrect results occur when loading and executing OpenCL kernels compiled with clang-ocl with hip api on ROCm 6.1 in Ubuntu 22.04.
Operating System
Ubuntu 22.04.3 LTS (Jammy Jellyfish)
CPU
AMD EPYC 7413
GPU
AMD Instinct MI250X
ROCm Version
ROCm 6.1.0
ROCm Component
clang-ocl
Steps to Reproduce
Initially, compile the OpenCL kernel with clang-ocl.
Then, utilize HIP APIs like hipModuleLoad(), hipModuleGetFunction(), and hipExtModuleLaunchKernel() to load and execute the compiled binary within the host code.
Ultimately, incorrect results should be encountered.
Attached below is the source code and Makefile used for reproduction.
The first value is found to be incorrect upon running the attached source code.
Problem Description
Incorrect results occur when loading and executing OpenCL kernels compiled with clang-ocl with hip api on ROCm 6.1 in Ubuntu 22.04.
Operating System
Ubuntu 22.04.3 LTS (Jammy Jellyfish)
CPU
AMD EPYC 7413
GPU
AMD Instinct MI250X
ROCm Version
ROCm 6.1.0
ROCm Component
clang-ocl
Steps to Reproduce
Initially, compile the OpenCL kernel with clang-ocl.
Then, utilize HIP APIs like hipModuleLoad(), hipModuleGetFunction(), and hipExtModuleLaunchKernel() to load and execute the compiled binary within the host code.
Ultimately, incorrect results should be encountered.
Attached below is the source code and Makefile used for reproduction.
The first value is found to be incorrect upon running the attached source code.
src.tar.gz
(Optional for Linux users) Output of /opt/rocm/bin/rocminfo --support
No response
Additional Information
No response
The text was updated successfully, but these errors were encountered: