kernel split error failed to load kernel_path_init #82884

Closed
opened 2020-11-20 21:10:04 +01:00 by Austin Kilgore · 6 comments

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
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: ```lines 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 ```
Author

Added subscriber: @Recompiler

Added subscriber: @Recompiler
Author

2020-11-20 14-28-19.mkv

Here's a quick screencap of the problem.

[2020-11-20 14-28-19.mkv](https://archive.blender.org/developer/F9340141/2020-11-20_14-28-19.mkv) Here's a quick screencap of the problem.
Member

Changed status from 'Needs Triage' to: 'Confirmed'

Changed status from 'Needs Triage' to: 'Confirmed'

This issue was referenced by blender/cycles@cac3edc84a

This issue was referenced by blender/cycles@cac3edc84a018f4d486b3fb8bc5b827060c09342

This issue was referenced by b0a9081883

This issue was referenced by b0a9081883778d134d0e8e2b411cf2d3c1523770
Member

Changed status from 'Confirmed' to: 'Resolved'

Changed status from 'Confirmed' to: 'Resolved'
Jeroen Bakker self-assigned this 2020-11-23 16:45:45 +01:00
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#82884
No description provided.