When compiling with -cl-opt-disable, I get the following errors (one for each kernel function):
: error: can't create dynamic relocation R_AMDGPU_REL32_LO against symbol: norm2 in readonly segment; recompile object files with -fPIC
>>> defined in /tmp/t_20283_71-5d7565.o
>>> referenced by /tmp/t_20283_71-5d7565.o:(nbnxn_kernel_prune_opencl)
: error: can't create dynamic relocation R_AMDGPU_REL32_HI against symbol: norm2 in readonly segment; recompile object files with -fPIC
>>> defined in /tmp/t_20283_71-5d7565.o
>>> referenced by /tmp/t_20283_71-5d7565.o:(nbnxn_kernel_prune_opencl)
[...]
When compiling with
-cl-opt-disable, I get the following errors (one for each kernel function):