You are not logged in.

#1 2024-03-25 17:49:56

redshoe
Member
Registered: 2015-12-16
Posts: 250

free(): invalid pointer error for gfx804 card with rocm-opencl-runtime

I am using AMD Radeon Pro WX 3200 (gfx804), and I have been using it for running OpenCL code that I have written. With rocm-opencl-runtime (ROCM version 6.0.2), I am getting


free(): invalid pointer
Aborted (core_dumped)

error on every OpenCL code that I wrote. I can run the same code on my AMD Radeon Pro W5700 without any issues under the same package. AMD Radeon WX 3200 is older than W5700, so as suggested in the GPGPU wiki (https://wiki.archlinux.org/title/GPGPU#ROCm), I set the runtime variable ROC_ENABLE_PRE_VEGA=1. But, I am getting the same results. Has anyone experienced this problem? Or is it just that ROCM 6.0.2 is not supporting older cards anymore (older than Vega). Any input would be appreciated. Thank you.

Offline

Board footer

Powered by FluxBB