I have been trying to get OpenCL working in Blender with my Radeon Rx Vega 10.
System Specs:
- Arch Linux
- Ryzen 7 3700U
- Radeon RX Vega 10
- AMDGPU-PRO OpenCL v20.40 Driver
- Blender v2.92
Blender error log:
```
blender
Read prefs: /home/recompiler/.config/blender/2.92/config/userpref.blend
[ALSOFT] (EE) Failed to set real-time priority for thread: Operation not permitted (1)
[ALSOFT] (EE) Failed to set real-time priority for thread: Operation not permitted (1)
LLVM triggered Diagnostic Handler: Illegal instruction detected: VOP* instruction violates constant bus restriction
renamable $vgpr4 = V_CNDMASK_B32_e32 32768, killed $vgpr5, implicit killed $vcc, implicit $exec
LLVM failed to compile shader
radeonsi: can't compile a main shader part
LLVM triggered Diagnostic Handler: Illegal instruction detected: VOP* instruction violates constant bus restriction
renamable $vgpr4 = V_CNDMASK_B32_e32 32768, killed $vgpr4, implicit killed $vcc, implicit $exec
LLVM failed to compile shader
radeonsi: can't compile a main shader part
Read blend: /home/recompiler/blender/donut-tut.blend
Writing userprefs: '/home/recompiler/.config/blender/2.92/config/userpref.blend' ok
Cycles: compiling OpenCL program base...
Cycles: compiling OpenCL program background...
[ALSOFT] (EE) Failed to set real-time priority for thread: Operation not permitted (1)
[ALSOFT] (EE) Failed to set real-time priority for thread: Operation not permitted (1)
[ALSOFT] (EE) Failed to set real-time priority for thread: Operation not permitted (1)
[ALSOFT] (EE) Failed to set real-time priority for thread: Operation not permitted (1)
Cycles: compiling OpenCL program background...
Kernel compilation of base finished in 2.66s.
OpenCL build failed with error CL_BUILD_PROGRAM_FAILURE, errors in console.
OpenCL program background build output: source/kernel/kernels/opencl/kernel_opencl_image.h:284:47: error: use of undeclared identifier 'acc'
return svm_image_texture_read_3d(kg, id, &acc, ix, iy, iz);
^
source/kernel/kernels/opencl/kernel_opencl_image.h:295:44: error: use of undeclared identifier 'acc'
svm_image_texture_read_3d(kg, id, &acc, ix, iy, iz);
^
source/kernel/kernels/opencl/kernel_opencl_image.h:296:78: error: use of undeclared identifier 'acc'
r += (1.0f - tz) * (1.0f - ty) * tx * svm_image_texture_read_3d(kg, id, &acc, ix + 1, iy, iz);
^
source/kernel/kernels/opencl/kernel_opencl_image.h:297:78: error: use of undeclared identifier 'acc'
r += (1.0f - tz) * ty * (1.0f - tx) * svm_image_texture_read_3d(kg, id, &acc, ix, iy + 1, iz);
^
source/kernel/kernels/opencl/kernel_opencl_image.h:298:69: error: use of undeclared identifier 'acc'
r += (1.0f - tz) * ty * tx * svm_image_texture_read_3d(kg, id, &acc, ix + 1, iy + 1, iz);
^
source/kernel/kernels/opencl/kernel_opencl_image.h:300:78: error: use of undeclared identifier 'acc'
r += tz * (1.0f - ty) * (1.0f - tx) * svm_image_texture_read_3d(kg, id, &acc, ix, iy, iz + 1);
^
source/kernel/kernels/opencl/kernel_opencl_image.h:301:69: error: use of undeclared identifier 'acc'
r += tz * (1.0f - ty) * tx * svm_image_texture_read_3d(kg, id, &acc, ix + 1, iy, iz + 1);
^
source/kernel/kernels/opencl/kernel_opencl_image.h:302:69: error: use of undeclared identifier 'acc'
r += tz * ty * (1.0f - tx) * svm_image_texture_read_3d(kg, id, &acc, ix, iy + 1, iz + 1);
^
source/kernel/kernels/opencl/kernel_opencl_image.h:303:60: error: use of undeclared identifier 'acc'
r += tz * ty * tx * svm_image_texture_read_3d(kg, id, &acc, ix + 1, iy + 1, iz + 1);
^
source/kernel/kernels/opencl/kernel_opencl_image.h:325:51: error: use of undeclared identifier 'acc'
svm_image_texture_read_3d(kg, id, &acc, ix + x - 1, iy + y - 1, iz + z - 1);
^
10 errors generated.
error: Clang front-end compilation failed!
Frontend phase failed compilation.
Error: Compiling CL to IR
Cycles: compiling OpenCL program split_subsurface_scatter...
Cycles: compiling OpenCL program split_direct_lighting...
Cycles: compiling OpenCL program split_indirect_background...
Cycles: compiling OpenCL program split_shader_eval...
Cycles: compiling OpenCL program split_lamp_emission...
Cycles: compiling OpenCL program split_holdout_emission_blurring_pathtermination_ao...
Cycles: compiling OpenCL program split_shadow_blocked_dl...
[ALSOFT] (EE) Failed to set real-time priority for thread: Operation not permitted (1)
[ALSOFT] (EE) Failed to set real-time priority for thread: Operation not permitted (1)
[ALSOFT] (EE) Failed to set real-time priority for thread: Operation not permitted (1)
[ALSOFT] (EE) Failed to set real-time priority for thread: Operation not permitted (1)
[ALSOFT] (EE) Failed to set real-time priority for thread: Operation not permitted (1)
[ALSOFT] (EE) Failed to set real-time priority for thread: Operation not permitted (1)
[ALSOFT] (EE) Failed to set real-time priority for thread: Operation not permitted (1)
[ALSOFT] (EE) Failed to set real-time priority for thread: Operation not permitted (1)
[ALSOFT] (EE) Failed to set real-time priority for thread: Operation not permitted (1)
[ALSOFT] (EE) Failed to set real-time priority for thread: Operation not permitted (1)
[ALSOFT] (EE) Failed to set real-time priority for thread: Operation not permitted (1)
[ALSOFT] (EE) Failed to set real-time priority for thread: Operation not permitted (1)
[ALSOFT] (EE) Failed to set real-time priority for thread: Operation not permitted (1)
[ALSOFT] (EE) Failed to set real-time priority for thread: Operation not permitted (1)
Cycles: compiling OpenCL program split_bundle...
Cycles: compiling OpenCL program split_subsurface_scatter...
Cycles: compiling OpenCL program split_direct_lighting...
Cycles: compiling OpenCL program split_indirect_background...
OpenCL build failed with error CL_BUILD_PROGRAM_FAILURE, errors in console.
OpenCL program split_subsurface_scatter build output: source/kernel/kernels/opencl/kernel_opencl_image.h:284:47: error: use of undeclared identifier 'acc'
return svm_image_texture_read_3d(kg, id, &acc, ix, iy, iz);
^
source/kernel/kernels/opencl/kernel_opencl_image.h:295:44: error: use of undeclared identifier 'acc'
svm_image_texture_read_3d(kg, id, &acc, ix, iy, iz);
^
source/kernel/kernels/opencl/kernel_opencl_image.h:296:78: error: use of undeclared identifier 'acc'
r += (1.0f - tz) * (1.0f - ty) * tx * svm_image_texture_read_3d(kg, id, &acc, ix + 1, iy, iz);
^
source/kernel/kernels/opencl/kernel_opencl_image.h:297:78: error: use of undeclared identifier 'acc'
r += (1.0f - tz) * ty * (1.0f - tx) * svm_image_texture_read_3d(kg, id, &acc, ix, iy + 1, iz);
^
source/kernel/kernels/opencl/kernel_opencl_image.h:298:69: error: use of undeclared identifier 'acc'
r += (1.0f - tz) * ty * tx * svm_image_texture_read_3d(kg, id, &acc, ix + 1, iy + 1, iz);
^
source/kernel/kernels/opencl/kernel_opencl_image.h:300:78: error: use of undeclared identifier 'acc'
r += tz * (1.0f - ty) * (1.0f - tx) * svm_image_texture_read_3d(kg, id, &acc, ix, iy, iz + 1);
^
source/kernel/kernels/opencl/kernel_opencl_image.h:301:69: error: use of undeclared identifier 'acc'
r += tz * (1.0f - ty) * tx * svm_image_texture_read_3d(kg, id, &acc, ix + 1, iy, iz + 1);
^
source/kernel/kernels/opencl/kernel_opencl_image.h:302:69: error: use of undeclared identifier 'acc'
r += tz * ty * (1.0f - tx) * svm_image_texture_read_3d(kg, id, &acc, ix, iy + 1, iz + 1);
^
source/kernel/kernels/opencl/kernel_opencl_image.h:303:60: error: use of undeclared identifier 'acc'
r += tz * ty * tx * svm_image_texture_read_3d(kg, id, &acc, ix + 1, iy + 1, iz + 1);
^
source/kernel/kernels/opencl/kernel_opencl_image.h:325:51: error: use of undeclared identifier 'acc'
svm_image_texture_read_3d(kg, id, &acc, ix + x - 1, iy + y - 1, iz + z - 1);
^
10 errors generated.
error: Clang front-end compilation failed!
Frontend phase failed compilation.
Error: Compiling CL to IR
Cycles: compiling OpenCL program split_shadow_blocked_ao...
OpenCL build failed with error CL_BUILD_PROGRAM_FAILURE, errors in console.
OpenCL program split_indirect_background build output: source/kernel/kernels/opencl/kernel_opencl_image.h:284:47: error: use of undeclared identifier 'acc'
return svm_image_texture_read_3d(kg, id, &acc, ix, iy, iz);
^
source/kernel/kernels/opencl/kernel_opencl_image.h:295:44: error: use of undeclared identifier 'acc'
svm_image_texture_read_3d(kg, id, &acc, ix, iy, iz);
^
source/kernel/kernels/opencl/kernel_opencl_image.h:296:78: error: use of undeclared identifier 'acc'
r += (1.0f - tz) * (1.0f - ty) * tx * svm_image_texture_read_3d(kg, id, &acc, ix + 1, iy, iz);
^
source/kernel/kernels/opencl/kernel_opencl_image.h:297:78: error: use of undeclared identifier 'acc'
r += (1.0f - tz) * ty * (1.0f - tx) * svm_image_texture_read_3d(kg, id, &acc, ix, iy + 1, iz);
^
source/kernel/kernels/opencl/kernel_opencl_image.h:298:69: error: use of undeclared identifier 'acc'
r += (1.0f - tz) * ty * tx * svm_image_texture_read_3d(kg, id, &acc, ix + 1, iy + 1, iz);
^
source/kernel/kernels/opencl/kernel_opencl_image.h:300:78: error: use of undeclared identifier 'acc'
r += tz * (1.0f - ty) * (1.0f - tx) * svm_image_texture_read_3d(kg, id, &acc, ix, iy, iz + 1);
^
source/kernel/kernels/opencl/kernel_opencl_image.h:301:69: error: use of undeclared identifier 'acc'
r += tz * (1.0f - ty) * tx * svm_image_texture_read_3d(kg, id, &acc, ix + 1, iy, iz + 1);
^
source/kernel/kernels/opencl/kernel_opencl_image.h:302:69: error: use of undeclared identifier 'acc'
r += tz * ty * (1.0f - tx) * svm_image_texture_read_3d(kg, id, &acc, ix, iy + 1, iz + 1);
^
source/kernel/kernels/opencl/kernel_opencl_image.h:303:60: error: use of undeclared identifier 'acc'
r += tz * ty * tx * svm_image_texture_read_3d(kg, id, &acc, ix + 1, iy + 1, iz + 1);
^
source/kernel/kernels/opencl/kernel_opencl_image.h:325:51: error: use of undeclared identifier 'acc'
svm_image_texture_read_3d(kg, id, &acc, ix + x - 1, iy + y - 1, iz + z - 1);
^
10 errors generated.
error: Clang front-end compilation failed!
Frontend phase failed compilation.
Error: Compiling CL to IR
Cycles: compiling OpenCL program split_shadow_blocked_dl...
Cycles: compiling OpenCL program split_lamp_emission...
OpenCL build failed with error CL_BUILD_PROGRAM_FAILURE, errors in console.
OpenCL program split_direct_lighting build output: source/kernel/kernels/opencl/kernel_opencl_image.h:284:47: error: use of undeclared identifier 'acc'
return svm_image_texture_read_3d(kg, id, &acc, ix, iy, iz);
^
source/kernel/kernels/opencl/kernel_opencl_image.h:295:44: error: use of undeclared identifier 'acc'
svm_image_texture_read_3d(kg, id, &acc, ix, iy, iz);
^
source/kernel/kernels/opencl/kernel_opencl_image.h:296:78: error: use of undeclared identifier 'acc'
r += (1.0f - tz) * (1.0f - ty) * tx * svm_image_texture_read_3d(kg, id, &acc, ix + 1, iy, iz);
^
source/kernel/kernels/opencl/kernel_opencl_image.h:297:78: error: use of undeclared identifier 'acc'
r += (1.0f - tz) * ty * (1.0f - tx) * svm_image_texture_read_3d(kg, id, &acc, ix, iy + 1, iz);
^
source/kernel/kernels/opencl/kernel_opencl_image.h:298:69: error: use of undeclared identifier 'acc'
r += (1.0f - tz) * ty * tx * svm_image_texture_read_3d(kg, id, &acc, ix + 1, iy + 1, iz);
^
source/kernel/kernels/opencl/kernel_opencl_image.h:300:78: error: use of undeclared identifier 'acc'
r += tz * (1.0f - ty) * (1.0f - tx) * svm_image_texture_read_3d(kg, id, &acc, ix, iy, iz + 1);
^
source/kernel/kernels/opencl/kernel_opencl_image.h:301:69: error: use of undeclared identifier 'acc'
r += tz * (1.0f - ty) * tx * svm_image_texture_read_3d(kg, id, &acc, ix + 1, iy, iz + 1);
^
source/kernel/kernels/opencl/kernel_opencl_image.h:302:69: error: use of undeclared identifier 'acc'
r += tz * ty * (1.0f - tx) * svm_image_texture_read_3d(kg, id, &acc, ix, iy + 1, iz + 1);
^
source/kernel/kernels/opencl/kernel_opencl_image.h:303:60: error: use of undeclared identifier 'acc'
r += tz * ty * tx * svm_image_texture_read_3d(kg, id, &acc, ix + 1, iy + 1, iz + 1);
^
source/kernel/kernels/opencl/kernel_opencl_image.h:325:51: error: use of undeclared identifier 'acc'
svm_image_texture_read_3d(kg, id, &acc, ix + x - 1, iy + y - 1, iz + z - 1);
^
10 errors generated.
error: Clang front-end compilation failed!
Frontend phase failed compilation.
Error: Compiling CL to IR
Cycles: compiling OpenCL program split_holdout_emission_blurring_pathtermination_ao...
Cycles: compiling OpenCL program split_shader_eval...
OpenCL build failed with error CL_BUILD_PROGRAM_FAILURE, errors in console.
OpenCL program split_lamp_emission build output: source/kernel/kernels/opencl/kernel_opencl_image.h:284:47: error: use of undeclared identifier 'acc'
return svm_image_texture_read_3d(kg, id, &acc, ix, iy, iz);
^
source/kernel/kernels/opencl/kernel_opencl_image.h:295:44: error: use of undeclared identifier 'acc'
svm_image_texture_read_3d(kg, id, &acc, ix, iy, iz);
^
source/kernel/kernels/opencl/kernel_opencl_image.h:296:78: error: use of undeclared identifier 'acc'
r += (1.0f - tz) * (1.0f - ty) * tx * svm_image_texture_read_3d(kg, id, &acc, ix + 1, iy, iz);
^
source/kernel/kernels/opencl/kernel_opencl_image.h:297:78: error: use of undeclared identifier 'acc'
r += (1.0f - tz) * ty * (1.0f - tx) * svm_image_texture_read_3d(kg, id, &acc, ix, iy + 1, iz);
^
source/kernel/kernels/opencl/kernel_opencl_image.h:298:69: error: use of undeclared identifier 'acc'
r += (1.0f - tz) * ty * tx * svm_image_texture_read_3d(kg, id, &acc, ix + 1, iy + 1, iz);
^
source/kernel/kernels/opencl/kernel_opencl_image.h:300:78: error: use of undeclared identifier 'acc'
r += tz * (1.0f - ty) * (1.0f - tx) * svm_image_texture_read_3d(kg, id, &acc, ix, iy, iz + 1);
^
source/kernel/kernels/opencl/kernel_opencl_image.h:301:69: error: use of undeclared identifier 'acc'
r += tz * (1.0f - ty) * tx * svm_image_texture_read_3d(kg, id, &acc, ix + 1, iy, iz + 1);
^
source/kernel/kernels/opencl/kernel_opencl_image.h:302:69: error: use of undeclared identifier 'acc'
r += tz * ty * (1.0f - tx) * svm_image_texture_read_3d(kg, id, &acc, ix, iy + 1, iz + 1);
^
source/kernel/kernels/opencl/kernel_opencl_image.h:303:60: error: use of undeclared identifier 'acc'
r += tz * ty * tx * svm_image_texture_read_3d(kg, id, &acc, ix + 1, iy + 1, iz + 1);
^
source/kernel/kernels/opencl/kernel_opencl_image.h:325:51: error: use of undeclared identifier 'acc'
svm_image_texture_read_3d(kg, id, &acc, ix + x - 1, iy + y - 1, iz + z - 1);
^
10 errors generated.
error: Clang front-end compilation failed!
Frontend phase failed compilation.
Error: Compiling CL to IR
OpenCL build failed with error CL_BUILD_PROGRAM_FAILURE, errors in console.
OpenCL program split_shader_eval build output: source/kernel/kernels/opencl/kernel_opencl_image.h:284:47: error: use of undeclared identifier 'acc'
return svm_image_texture_read_3d(kg, id, &acc, ix, iy, iz);
^
source/kernel/kernels/opencl/kernel_opencl_image.h:295:44: error: use of undeclared identifier 'acc'
svm_image_texture_read_3d(kg, id, &acc, ix, iy, iz);
^
source/kernel/kernels/opencl/kernel_opencl_image.h:296:78: error: use of undeclared identifier 'acc'
r += (1.0f - tz) * (1.0f - ty) * tx * svm_image_texture_read_3d(kg, id, &acc, ix + 1, iy, iz);
^
source/kernel/kernels/opencl/kernel_opencl_image.h:297:78: error: use of undeclared identifier 'acc'
r += (1.0f - tz) * ty * (1.0f - tx) * svm_image_texture_read_3d(kg, id, &acc, ix, iy + 1, iz);
^
source/kernel/kernels/opencl/kernel_opencl_image.h:298:69: error: use of undeclared identifier 'acc'
r += (1.0f - tz) * ty * tx * svm_image_texture_read_3d(kg, id, &acc, ix + 1, iy + 1, iz);
^
source/kernel/kernels/opencl/kernel_opencl_image.h:300:78: error: use of undeclared identifier 'acc'
r += tz * (1.0f - ty) * (1.0f - tx) * svm_image_texture_read_3d(kg, id, &acc, ix, iy, iz + 1);
^
source/kernel/kernels/opencl/kernel_opencl_image.h:301:69: error: use of undeclared identifier 'acc'
r += tz * (1.0f - ty) * tx * svm_image_texture_read_3d(kg, id, &acc, ix + 1, iy, iz + 1);
^
source/kernel/kernels/opencl/kernel_opencl_image.h:302:69: error: use of undeclared identifier 'acc'
r += tz * ty * (1.0f - tx) * svm_image_texture_read_3d(kg, id, &acc, ix, iy + 1, iz + 1);
^
source/kernel/kernels/opencl/kernel_opencl_image.h:303:60: error: use of undeclared identifier 'acc'
r += tz * ty * tx * svm_image_texture_read_3d(kg, id, &acc, ix + 1, iy + 1, iz + 1);
^
source/kernel/kernels/opencl/kernel_opencl_image.h:325:51: error: use of undeclared identifier 'acc'
svm_image_texture_read_3d(kg, id, &acc, ix + x - 1, iy + y - 1, iz + z - 1);
^
10 errors generated.
error: Clang front-end compilation failed!
Frontend phase failed compilation.
Error: Compiling CL to IR
[ALSOFT] (EE) Failed to set real-time priority for thread: Operation not permitted (1)
[ALSOFT] (EE) Failed to set real-time priority for thread: Operation not permitted (1)
[ALSOFT] (EE) Failed to set real-time priority for thread: Operation not permitted (1)
[ALSOFT] (EE) Failed to set real-time priority for thread: Operation not permitted (1)
OpenCL build failed with error CL_BUILD_PROGRAM_FAILURE, errors in console.
OpenCL program split_holdout_emission_blurring_pathtermination_ao build output: source/kernel/kernels/opencl/kernel_opencl_image.h:284:47: error: use of undeclared identifier 'acc'
return svm_image_texture_read_3d(kg, id, &acc, ix, iy, iz);
^
source/kernel/kernels/opencl/kernel_opencl_image.h:295:44: error: use of undeclared identifier 'acc'
svm_image_texture_read_3d(kg, id, &acc, ix, iy, iz);
^
source/kernel/kernels/opencl/kernel_opencl_image.h:296:78: error: use of undeclared identifier 'acc'
r += (1.0f - tz) * (1.0f - ty) * tx * svm_image_texture_read_3d(kg, id, &acc, ix + 1, iy, iz);
^
source/kernel/kernels/opencl/kernel_opencl_image.h:297:78: error: use of undeclared identifier 'acc'
r += (1.0f - tz) * ty * (1.0f - tx) * svm_image_texture_read_3d(kg, id, &acc, ix, iy + 1, iz);
^
source/kernel/kernels/opencl/kernel_opencl_image.h:298:69: error: use of undeclared identifier 'acc'
r += (1.0f - tz) * ty * tx * svm_image_texture_read_3d(kg, id, &acc, ix + 1, iy + 1, iz);
^
source/kernel/kernels/opencl/kernel_opencl_image.h:300:78: error: use of undeclared identifier 'acc'
r += tz * (1.0f - ty) * (1.0f - tx) * svm_image_texture_read_3d(kg, id, &acc, ix, iy, iz + 1);
^
source/kernel/kernels/opencl/kernel_opencl_image.h:301:69: error: use of undeclared identifier 'acc'
r += tz * (1.0f - ty) * tx * svm_image_texture_read_3d(kg, id, &acc, ix + 1, iy, iz + 1);
^
source/kernel/kernels/opencl/kernel_opencl_image.h:302:69: error: use of undeclared identifier 'acc'
r += tz * ty * (1.0f - tx) * svm_image_texture_read_3d(kg, id, &acc, ix, iy + 1, iz + 1);
^
source/kernel/kernels/opencl/kernel_opencl_image.h:303:60: error: use of undeclared identifier 'acc'
r += tz * ty * tx * svm_image_texture_read_3d(kg, id, &acc, ix + 1, iy + 1, iz + 1);
^
source/kernel/kernels/opencl/kernel_opencl_image.h:325:51: error: use of undeclared identifier 'acc'
svm_image_texture_read_3d(kg, id, &acc, ix + x - 1, iy + y - 1, iz + z - 1);
^
10 errors generated.
error: Clang front-end compilation failed!
Frontend phase failed compilation.
Error: Compiling CL to IR
OpenCL build failed with error CL_BUILD_PROGRAM_FAILURE, errors in console.
OpenCL program split_shadow_blocked_dl build output: source/kernel/kernels/opencl/kernel_opencl_image.h:284:47: error: use of undeclared identifier 'acc'
return svm_image_texture_read_3d(kg, id, &acc, ix, iy, iz);
^
source/kernel/kernels/opencl/kernel_opencl_image.h:295:44: error: use of undeclared identifier 'acc'
svm_image_texture_read_3d(kg, id, &acc, ix, iy, iz);
^
source/kernel/kernels/opencl/kernel_opencl_image.h:296:78: error: use of undeclared identifier 'acc'
r += (1.0f - tz) * (1.0f - ty) * tx * svm_image_texture_read_3d(kg, id, &acc, ix + 1, iy, iz);
^
source/kernel/kernels/opencl/kernel_opencl_image.h:297:78: error: use of undeclared identifier 'acc'
r += (1.0f - tz) * ty * (1.0f - tx) * svm_image_texture_read_3d(kg, id, &acc, ix, iy + 1, iz);
^
source/kernel/kernels/opencl/kernel_opencl_image.h:298:69: error: use of undeclared identifier 'acc'
r += (1.0f - tz) * ty * tx * svm_image_texture_read_3d(kg, id, &acc, ix + 1, iy + 1, iz);
^
source/kernel/kernels/opencl/kernel_opencl_image.h:300:78: error: use of undeclared identifier 'acc'
r += tz * (1.0f - ty) * (1.0f - tx) * svm_image_texture_read_3d(kg, id, &acc, ix, iy, iz + 1);
^
source/kernel/kernels/opencl/kernel_opencl_image.h:301:69: error: use of undeclared identifier 'acc'
r += tz * (1.0f - ty) * tx * svm_image_texture_read_3d(kg, id, &acc, ix + 1, iy, iz + 1);
^
source/kernel/kernels/opencl/kernel_opencl_image.h:302:69: error: use of undeclared identifier 'acc'
r += tz * ty * (1.0f - tx) * svm_image_texture_read_3d(kg, id, &acc, ix, iy + 1, iz + 1);
^
source/kernel/kernels/opencl/kernel_opencl_image.h:303:60: error: use of undeclared identifier 'acc'
r += tz * ty * tx * svm_image_texture_read_3d(kg, id, &acc, ix + 1, iy + 1, iz + 1);
^
source/kernel/kernels/opencl/kernel_opencl_image.h:325:51: error: use of undeclared identifier 'acc'
svm_image_texture_read_3d(kg, id, &acc, ix + x - 1, iy + y - 1, iz + z - 1);
^
10 errors generated.
error: Clang front-end compilation failed!
Frontend phase failed compilation.
Error: Compiling CL to IR
Cycles: compiling OpenCL program split_bundle...
Cycles: compiling OpenCL program split_shadow_blocked_ao...
OpenCL build failed with error CL_BUILD_PROGRAM_FAILURE, errors in console.
OpenCL program split_bundle build output: source/kernel/kernels/opencl/kernel_opencl_image.h:284:47: error: use of undeclared identifier 'acc'
return svm_image_texture_read_3d(kg, id, &acc, ix, iy, iz);
^
source/kernel/kernels/opencl/kernel_opencl_image.h:295:44: error: use of undeclared identifier 'acc'
svm_image_texture_read_3d(kg, id, &acc, ix, iy, iz);
^
source/kernel/kernels/opencl/kernel_opencl_image.h:296:78: error: use of undeclared identifier 'acc'
r += (1.0f - tz) * (1.0f - ty) * tx * svm_image_texture_read_3d(kg, id, &acc, ix + 1, iy, iz);
^
source/kernel/kernels/opencl/kernel_opencl_image.h:297:78: error: use of undeclared identifier 'acc'
r += (1.0f - tz) * ty * (1.0f - tx) * svm_image_texture_read_3d(kg, id, &acc, ix, iy + 1, iz);
^
source/kernel/kernels/opencl/kernel_opencl_image.h:298:69: error: use of undeclared identifier 'acc'
r += (1.0f - tz) * ty * tx * svm_image_texture_read_3d(kg, id, &acc, ix + 1, iy + 1, iz);
^
source/kernel/kernels/opencl/kernel_opencl_image.h:300:78: error: use of undeclared identifier 'acc'
r += tz * (1.0f - ty) * (1.0f - tx) * svm_image_texture_read_3d(kg, id, &acc, ix, iy, iz + 1);
^
source/kernel/kernels/opencl/kernel_opencl_image.h:301:69: error: use of undeclared identifier 'acc'
r += tz * (1.0f - ty) * tx * svm_image_texture_read_3d(kg, id, &acc, ix + 1, iy, iz + 1);
^
source/kernel/kernels/opencl/kernel_opencl_image.h:302:69: error: use of undeclared identifier 'acc'
r += tz * ty * (1.0f - tx) * svm_image_texture_read_3d(kg, id, &acc, ix, iy + 1, iz + 1);
^
source/kernel/kernels/opencl/kernel_opencl_image.h:303:60: error: use of undeclared identifier 'acc'
r += tz * ty * tx * svm_image_texture_read_3d(kg, id, &acc, ix + 1, iy + 1, iz + 1);
^
source/kernel/kernels/opencl/kernel_opencl_image.h:325:51: error: use of undeclared identifier 'acc'
svm_image_texture_read_3d(kg, id, &acc, ix + x - 1, iy + y - 1, iz + z - 1);
^
10 errors generated.
error: Clang front-end compilation failed!
Frontend phase failed compilation.
Error: Compiling CL to IR
OpenCL build failed with error CL_BUILD_PROGRAM_FAILURE, errors in console.
OpenCL program split_shadow_blocked_ao build output: source/kernel/kernels/opencl/kernel_opencl_image.h:284:47: error: use of undeclared identifier 'acc'
return svm_image_texture_read_3d(kg, id, &acc, ix, iy, iz);
^
source/kernel/kernels/opencl/kernel_opencl_image.h:295:44: error: use of undeclared identifier 'acc'
svm_image_texture_read_3d(kg, id, &acc, ix, iy, iz);
^
source/kernel/kernels/opencl/kernel_opencl_image.h:296:78: error: use of undeclared identifier 'acc'
r += (1.0f - tz) * (1.0f - ty) * tx * svm_image_texture_read_3d(kg, id, &acc, ix + 1, iy, iz);
^
source/kernel/kernels/opencl/kernel_opencl_image.h:297:78: error: use of undeclared identifier 'acc'
r += (1.0f - tz) * ty * (1.0f - tx) * svm_image_texture_read_3d(kg, id, &acc, ix, iy + 1, iz);
^
source/kernel/kernels/opencl/kernel_opencl_image.h:298:69: error: use of undeclared identifier 'acc'
r += (1.0f - tz) * ty * tx * svm_image_texture_read_3d(kg, id, &acc, ix + 1, iy + 1, iz);
^
source/kernel/kernels/opencl/kernel_opencl_image.h:300:78: error: use of undeclared identifier 'acc'
r += tz * (1.0f - ty) * (1.0f - tx) * svm_image_texture_read_3d(kg, id, &acc, ix, iy, iz + 1);
^
source/kernel/kernels/opencl/kernel_opencl_image.h:301:69: error: use of undeclared identifier 'acc'
r += tz * (1.0f - ty) * tx * svm_image_texture_read_3d(kg, id, &acc, ix + 1, iy, iz + 1);
^
source/kernel/kernels/opencl/kernel_opencl_image.h:302:69: error: use of undeclared identifier 'acc'
r += tz * ty * (1.0f - tx) * svm_image_texture_read_3d(kg, id, &acc, ix, iy + 1, iz + 1);
^
source/kernel/kernels/opencl/kernel_opencl_image.h:303:60: error: use of undeclared identifier 'acc'
r += tz * ty * tx * svm_image_texture_read_3d(kg, id, &acc, ix + 1, iy + 1, iz + 1);
^
source/kernel/kernels/opencl/kernel_opencl_image.h:325:51: error: use of undeclared identifier 'acc'
svm_image_texture_read_3d(kg, id, &acc, ix + x - 1, iy + y - 1, iz + z - 1);
^
10 errors generated.
error: Clang front-end compilation failed!
Frontend phase failed compilation.
Error: Compiling CL to IR
Split kernel error: failed to load kernel_path_init
Error: Split kernel error: failed to load kernel_path_init
^CPython: Traceback (most recent call last):
File "/usr/share/blender/2.92/scripts/startup/bl_ui/space_topbar.py", line 27, in draw
def draw(self, context):
KeyboardInterrupt
location: <unknown location>:-1
^CPython: Traceback (most recent call last):
File "/usr/share/blender/2.92/scripts/startup/bl_ui/space_view3d.py", line 46, in draw
def draw(self, context):
KeyboardInterrupt
location: <unknown location>:-1
Saved session recovery to '/tmp/quit.blend'
Blender quit
```