Thank you very much for support!
I’m able to install and run OpenCL:
$ clinfo -l
Platform #0: Portable Computing Language
+-- Device #0: pthread-cortex-a57
`-- Device #1: NVIDIA Tegra X2
$ poclcc -l
LIST OF DEVICES:
0:
Vendor: ARM
Name: pthread-cortex-a57
Version: OpenCL 1.2 PoCL HSTR: pthread-aarch64-unknown-linux-gnu-cortex-a57
1:
Vendor: NVIDIA Corporation
Name: NVIDIA Tegra X2
Version: OpenCL 1.2 PoCL HSTR: CUDA-sm_62
But unfortunately target application failed to compile required code:
20230907 10:16:54 NVIDIA Tegra X2-1 2882023 OpenCL args "-DEXP=2882023u -DWIDTH=256u -DSMALL_HEIGHT=256u -DMIDDLE=2u -DWEIGHT_STEP=0.0041360428406734713 -DIWEIGHT_STEP=-0.004119006453520699 -DIWEIGHTS={0,-0.0082210466928772531,-0.016374507777028039,-0.024460938876897462,-0.032480891049116126,-0.040434910820052336,-0.048323540223055607,-0.056147316835393993,} -DFWEIGHTS={0,0.0082891925317268283,0.016647095776281692,0.025074279289992216,0.03357131735034808,0.042138788995135644,0.050777278061896969,0.059487373227715891,} -cl-std=CL2.0 -cl-finite-math-only "
6 errors generated.
20230907 10:16:55 NVIDIA Tegra X2-1 2882023 ASM compilation failed, retrying compilation using NO_ASM
6 errors generated.
20230907 10:16:57 NVIDIA Tegra X2-1 2882023 OpenCL compilation error -11 (args -DEXP=2882023u -DWIDTH=256u -DSMALL_HEIGHT=256u -DMIDDLE=2u -DWEIGHT_STEP=0.0041360428406734713 -DIWEIGHT_STEP=-0.004119006453520699 -DIWEIGHTS={0,-0.0082210466928772531,-0.016374507777028039,-0.024460938876897462,-0.032480891049116126,-0.040434910820052336,-0.048323540223055607,-0.056147316835393993,} -DFWEIGHTS={0,0.0082891925317268283,0.016647095776281692,0.025074279289992216,0.03357131735034808,0.042138788995135644,0.050777278061896969,0.059487373227715891,} -cl-std=CL2.0 -cl-finite-math-only -DNO_ASM=1)
20230907 10:16:57 NVIDIA Tegra X2-1 2882023 error: /home/dev/.cache/pocl/kcache/tempfile_I2Vdg4.cl:2186:14: casting '__global u32 *' (aka '__global unsigned int *') to type '__private atomic_uint *' (aka '__private _Atomic(unsigned int) *') changes address space of pointer
error: /home/dev/.cache/pocl/kcache/tempfile_I2Vdg4.cl:2195:20: casting '__global u32 *' (aka '__global unsigned int *') to type '__private atomic_uint *' (aka '__private _Atomic(unsigned int) *') changes address space of pointer
error: /home/dev/.cache/pocl/kcache/tempfile_I2Vdg4.cl:2285:14: casting '__global u32 *' (aka '__global unsigned int *') to type '__private atomic_uint *' (aka '__private _Atomic(unsigned int) *') changes address space of pointer
error: /home/dev/.cache/pocl/kcache/tempfile_I2Vdg4.cl:2294:20: casting '__global u32 *' (aka '__global unsigned int *') to type '__private atomic_uint *' (aka '__private _Atomic(unsigned int) *') changes address space of pointer
error: /home/dev/.cache/pocl/kcache/tempfile_I2Vdg4.cl:2333:40: passing 'const __global Word2 *restrict __private' (aka 'const __global int2 *restrict __private') to parameter of type 'const __private Word2 *' (aka 'const __private int2 *') changes address space of pointer
error: /home/dev/.cache/pocl/kcache/tempfile_I2Vdg4.cl:2338:40: passing 'const __global Word2 *restrict __private' (aka 'const __global int2 *restrict __private') to parameter of type 'const __private Word2 *' (aka 'const __private int2 *') changes address space of pointer
Device NVIDIA Tegra X2 failed to build the program
20230907 10:16:57 NVIDIA Tegra X2-1 Exception gpu_error: BUILD_PROGRAM_FAILURE clBuildProgram at src/clwrap.cpp:250 build
May be i need open new topic for compilation issue.
Thank you and best regards.