Error: Split kernel error: failed to load kernel_path_init Windows 10 64 #55564

Closed
opened 2018-06-21 02:33:03 +02:00 by Philip k · 9 comments

System Information
Windows 10 64bit
16gb ram
renderer: 'AMD Radeon (TM) R9 390 Series'
vendor: 'ATI Technologies Inc.'
version: '4.5.13521 Compatibility Profile Context 24.20.11021.1000'

Blender Version
Broken: blender-2.79-0a8af46-win64-vc14 and 2.80-570f3e6-win64
Worked: 2.79b f4dc9f9d68,

Short description of error
even if it is the default scene it happens, if i try to use OpenCL with GPU on its own or with CPU i get the error message but if i use OpenCL CPU on its own works.

Compiling OpenCL program split
OpenCL build failed with error CL_BUILD_PROGRAM_FAILURE, errors in console.
OpenCL program split build output: source\kernel/svm/svm_ao.h:60:8: error: implicit declaration of function 'scene_intersect_local' is invalid in C99
                        if(!scene_intersect_local(kg,
                            ^
source\kernel/svm/svm_ao.h:60:8: note: did you mean 'scene_intersect'?
source\kernel/bvh/bvh.h:5431:27: note: 'scene_intersect' declared here
ccl_device_intersect bool scene_intersect(KernelGlobals *kg,
                          ^
1 error 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

**System Information** Windows 10 64bit 16gb ram renderer: 'AMD Radeon (TM) R9 390 Series' vendor: 'ATI Technologies Inc.' version: '4.5.13521 Compatibility Profile Context 24.20.11021.1000' **Blender Version** Broken: blender-2.79-0a8af46-win64-vc14 and 2.80-570f3e6-win64 Worked: 2.79b f4dc9f9d68b, **Short description of error** even if it is the default scene it happens, if i try to use OpenCL with GPU on its own or with CPU i get the error message but if i use OpenCL CPU on its own works. ``` Compiling OpenCL program split OpenCL build failed with error CL_BUILD_PROGRAM_FAILURE, errors in console. OpenCL program split build output: source\kernel/svm/svm_ao.h:60:8: error: implicit declaration of function 'scene_intersect_local' is invalid in C99 if(!scene_intersect_local(kg, ^ source\kernel/svm/svm_ao.h:60:8: note: did you mean 'scene_intersect'? source\kernel/bvh/bvh.h:5431:27: note: 'scene_intersect' declared here ccl_device_intersect bool scene_intersect(KernelGlobals *kg, ^ 1 error 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 ```
Author

Added subscriber: @Criticalphil

Added subscriber: @Criticalphil

This issue was referenced by blender/cycles@7f10212aee

This issue was referenced by blender/cycles@7f10212aee9ad7351563bc732dabca455fdc8516

This issue was referenced by d6313f47af

This issue was referenced by d6313f47af8aa0156fa3beffad71cd689eadf397

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'
Author

Hi, using 2.79 hash 51f14cfa3e i am getting the following errors no matter what scene it is, even the default cube gives me these errors.

i have no clue what "c:\constructicon\builds\gfx\two\18.10\stream\opencl\compiler\clc2\ocl-headers\build\wNow64a\B_rel" path is trying to find.

OpenCL build failed with error CL_BUILD_PROGRAM_FAILURE, errors in console.
OpenCL program split build output: source\kernel/svm/svm_voronoi.h:56:7: error: expected expression
                                          float3 n = fabs(vp - p);
                                          ^
source\kernel/svm/svm_voronoi.h:58:27: error: no matching function for call to 'sqrt'
                                                  d = sqr(reduce_add(sqrt(n)));
                                                                     ^~~~
c:\constructicon\builds\gfx\two\18.10\stream\opencl\compiler\clc2\ocl-headers\build\wNow64a\B_rel\opencl12_builtins.h:1271:49: note: candidate function not viable: no known conversion from '<dependent type>' to 'double' for 1st argument
double const_func __attribute__((overloadable)) sqrt(double);
                                          ^
c:\constructicon\builds\gfx\two\18.10\stream\opencl\compiler\clc2\ocl-headers\build\wNow64a\B_rel\opencl12_builtins.h:1272:50: note: candidate function not viable: no known conversion from '<dependent type>' to 'double2' (vector of 2 'double' values) for 1st argument
double2 const_func __attribute__((overloadable)) sqrt(double2);
                                           ^
c:\constructicon\builds\gfx\two\18.10\stream\opencl\compiler\clc2\ocl-headers\build\wNow64a\B_rel\opencl12_builtins.h:1273:50: note: candidate function not viable: no known conversion from '<dependent type>' to 'double3' (vector of 3 'double' values) for 1st argument
double3 const_func __attribute__((overloadable)) sqrt(double3);
                                           ^
c:\constructicon\builds\gfx\two\18.10\stream\opencl\compiler\clc2\ocl-headers\build\wNow64a\B_rel\opencl12_builtins.h:1274:50: note: candidate function not viable: no known conversion from '<dependent type>' to 'double4' (vector of 4 'double' values) for 1st argument
double4 const_func __attribute__((overloadable)) sqrt(double4);
                                           ^
c:\constructicon\builds\gfx\two\18.10\stream\opencl\compiler\clc2\ocl-headers\build\wNow64a\B_rel\opencl12_builtins.h:1275:50: note: candidate function not viable: no known conversion from '<dependent type>' to 'double8' (vector of 8 'double' values) for 1st argument
double8 const_func __attribute__((overloadable)) sqrt(double8);
                                           ^
c:\constructicon\builds\gfx\two\18.10\stream\opencl\compiler\clc2\ocl-headers\build\wNow64a\B_rel\opencl12_builtins.h:1276:51: note: candidate function not viable: no known conversion from '<dependent type>' to 'double16' (vector of 16 'double' values) for 1st argument
double16 const_func __attribute__((overloadable)) sqrt(double16);
                                            ^
c:\constructicon\builds\gfx\two\18.10\stream\opencl\compiler\clc2\ocl-headers\build\wNow64a\B_rel\opencl12_builtins.h:1277:48: note: candidate function not viable: no known conversion from '<dependent type>' to 'float' for 1st argument
float const_func __attribute__((overloadable)) sqrt(float);
                                         ^
c:\constructicon\builds\gfx\two\18.10\stream\opencl\compiler\clc2\ocl-headers\build\wNow64a\B_rel\opencl12_builtins.h:1278:49: note: candidate function not viable: no known conversion from '<dependent type>' to 'float2' (vector of 2 'float' values) for 1st argument
float2 const_func __attribute__((overloadable)) sqrt(float2);
                                          ^
c:\constructicon\builds\gfx\two\18.10\stream\opencl\compiler\clc2\ocl-headers\build\wNow64a\B_rel\opencl12_builtins.h:1279:49: note: candidate function not viable: no known conversion from '<dependent type>' to 'float3' (vector of 3 'float' values) for 1st argument
float3 const_func __attribute__((overloadable)) sqrt(float3);
                                          ^
c:\constructicon\builds\gfx\two\18.10\stream\opencl\compiler\clc2\ocl-headers\build\wNow64a\B_rel\opencl12_builtins.h:1280:49: note: candidate function not viable: no known conversion from '<dependent type>' to 'float4' (vector of 4 'float' values) for 1st argument
float4 const_func __attribute__((overloadable)) sqrt(float4);
                                          ^
c:\constructicon\builds\gfx\two\18.10\stream\opencl\compiler\clc2\ocl-headers\build\wNow64a\B_rel\opencl12_builtins.h:1281:49: note: candidate function not viable: no known conversion from '<dependent type>' to 'float8' (vector of 8 'float' values) for 1st argument
float8 const_func __attribute__((overloadable)) sqrt(float8);
                                          ^
c:\constructicon\builds\gfx\two\18.10\stream\opencl\compiler\clc2\ocl-headers\build\wNow64a\B_rel\opencl12_builtins.h:1282:50: note: candidate function not viable: no known conversion from '<dependent type>' to 'float16' (vector of 16 'float' values) for 1st argument
float16 const_func __attribute__((overloadable)) sqrt(float16);
                                           ^
c:\constructicon\builds\gfx\two\18.10\stream\opencl\compiler\clc2\ocl-headers\build\wNow64a\B_rel\opencl12_builtins.h:11848:47: note: candidate function not viable: no known conversion from '<dependent type>' to 'half' for 1st argument
half const_func __attribute__((overloadable)) sqrt(half);
                                        ^
c:\constructicon\builds\gfx\two\18.10\stream\opencl\compiler\clc2\ocl-headers\build\wNow64a\B_rel\opencl12_builtins.h:11849:48: note: candidate function not viable: no known conversion from '<dependent type>' to 'half2' (vector of 2 'half' values) for 1st argument
half2 const_func __attribute__((overloadable)) sqrt(half2);
                                         ^
c:\constructicon\builds\gfx\two\18.10\stream\opencl\compiler\clc2\ocl-headers\build\wNow64a\B_rel\opencl12_builtins.h:11850:48: note: candidate function not viable: no known conversion from '<dependent type>' to 'half3' (vector of 3 'half' values) for 1st argument
half3 const_func __attribute__((overloadable)) sqrt(half3);
                                         ^
c:\constructicon\builds\gfx\two\18.10\stream\opencl\compiler\clc2\ocl-headers\build\wNow64a\B_rel\opencl12_builtins.h:11851:48: note: candidate function not viable: no known conversion from '<dependent type>' to 'half4' (vector of 4 'half' values) for 1st argument
half4 const_func __attribute__((overloadable)) sqrt(half4);
                                         ^
c:\constructicon\builds\gfx\two\18.10\stream\opencl\compiler\clc2\ocl-headers\build\wNow64a\B_rel\opencl12_builtins.h:11852:48: note: candidate function not viable: no known conversion from '<dependent type>' to 'half8' (vector of 8 'half' values) for 1st argument
half8 const_func __attribute__((overloadable)) sqrt(half8);
                                         ^
c:\constructicon\builds\gfx\two\18.10\stream\opencl\compiler\clc2\ocl-headers\build\wNow64a\B_rel\opencl12_builtins.h:11853:49: note: candidate function not viable: no known conversion from '<dependent type>' to 'half16' (vector of 16 'half' values) for 1st argument
half16 const_func __attribute__((overloadable)) sqrt(half16);
                                          ^
source\kernel/svm/svm_voronoi.h:61:28: error: implicit declaration of function 'pow3' is invalid in C99
                                                  d = powf(reduce_add(pow3(n, e)), 1.0f/e);
                                                                      ^
source\kernel/svm/svm_voronoi.h:61:33: error: use of undeclared identifier 'n'
                                                  d = powf(reduce_add(pow3(n, e)), 1.0f/e);
                                                                           ^
4 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
Hi, using 2.79 hash 51f14cfa3e i am getting the following errors no matter what scene it is, even the default cube gives me these errors. i have no clue what "c:\constructicon\builds\gfx\two\18.10\stream\opencl\compiler\clc2\ocl-headers\build\wNow64a\B_rel\" path is trying to find. ```Compiling OpenCL program split OpenCL build failed with error CL_BUILD_PROGRAM_FAILURE, errors in console. OpenCL program split build output: source\kernel/svm/svm_voronoi.h:56:7: error: expected expression ``` float3 n = fabs(vp - p); ^ ``` source\kernel/svm/svm_voronoi.h:58:27: error: no matching function for call to 'sqrt' ``` d = sqr(reduce_add(sqrt(n))); ^~~~ ``` c:\constructicon\builds\gfx\two\18.10\stream\opencl\compiler\clc2\ocl-headers\build\wNow64a\B_rel\opencl12_builtins.h:1271:49: note: candidate function not viable: no known conversion from '<dependent type>' to 'double' for 1st argument double const_func __attribute__((overloadable)) sqrt(double); ``` ^ ``` c:\constructicon\builds\gfx\two\18.10\stream\opencl\compiler\clc2\ocl-headers\build\wNow64a\B_rel\opencl12_builtins.h:1272:50: note: candidate function not viable: no known conversion from '<dependent type>' to 'double2' (vector of 2 'double' values) for 1st argument double2 const_func __attribute__((overloadable)) sqrt(double2); ``` ^ ``` c:\constructicon\builds\gfx\two\18.10\stream\opencl\compiler\clc2\ocl-headers\build\wNow64a\B_rel\opencl12_builtins.h:1273:50: note: candidate function not viable: no known conversion from '<dependent type>' to 'double3' (vector of 3 'double' values) for 1st argument double3 const_func __attribute__((overloadable)) sqrt(double3); ``` ^ ``` c:\constructicon\builds\gfx\two\18.10\stream\opencl\compiler\clc2\ocl-headers\build\wNow64a\B_rel\opencl12_builtins.h:1274:50: note: candidate function not viable: no known conversion from '<dependent type>' to 'double4' (vector of 4 'double' values) for 1st argument double4 const_func __attribute__((overloadable)) sqrt(double4); ``` ^ ``` c:\constructicon\builds\gfx\two\18.10\stream\opencl\compiler\clc2\ocl-headers\build\wNow64a\B_rel\opencl12_builtins.h:1275:50: note: candidate function not viable: no known conversion from '<dependent type>' to 'double8' (vector of 8 'double' values) for 1st argument double8 const_func __attribute__((overloadable)) sqrt(double8); ``` ^ ``` c:\constructicon\builds\gfx\two\18.10\stream\opencl\compiler\clc2\ocl-headers\build\wNow64a\B_rel\opencl12_builtins.h:1276:51: note: candidate function not viable: no known conversion from '<dependent type>' to 'double16' (vector of 16 'double' values) for 1st argument double16 const_func __attribute__((overloadable)) sqrt(double16); ``` ^ ``` c:\constructicon\builds\gfx\two\18.10\stream\opencl\compiler\clc2\ocl-headers\build\wNow64a\B_rel\opencl12_builtins.h:1277:48: note: candidate function not viable: no known conversion from '<dependent type>' to 'float' for 1st argument float const_func __attribute__((overloadable)) sqrt(float); ``` ^ ``` c:\constructicon\builds\gfx\two\18.10\stream\opencl\compiler\clc2\ocl-headers\build\wNow64a\B_rel\opencl12_builtins.h:1278:49: note: candidate function not viable: no known conversion from '<dependent type>' to 'float2' (vector of 2 'float' values) for 1st argument float2 const_func __attribute__((overloadable)) sqrt(float2); ``` ^ ``` c:\constructicon\builds\gfx\two\18.10\stream\opencl\compiler\clc2\ocl-headers\build\wNow64a\B_rel\opencl12_builtins.h:1279:49: note: candidate function not viable: no known conversion from '<dependent type>' to 'float3' (vector of 3 'float' values) for 1st argument float3 const_func __attribute__((overloadable)) sqrt(float3); ``` ^ ``` c:\constructicon\builds\gfx\two\18.10\stream\opencl\compiler\clc2\ocl-headers\build\wNow64a\B_rel\opencl12_builtins.h:1280:49: note: candidate function not viable: no known conversion from '<dependent type>' to 'float4' (vector of 4 'float' values) for 1st argument float4 const_func __attribute__((overloadable)) sqrt(float4); ``` ^ ``` c:\constructicon\builds\gfx\two\18.10\stream\opencl\compiler\clc2\ocl-headers\build\wNow64a\B_rel\opencl12_builtins.h:1281:49: note: candidate function not viable: no known conversion from '<dependent type>' to 'float8' (vector of 8 'float' values) for 1st argument float8 const_func __attribute__((overloadable)) sqrt(float8); ``` ^ ``` c:\constructicon\builds\gfx\two\18.10\stream\opencl\compiler\clc2\ocl-headers\build\wNow64a\B_rel\opencl12_builtins.h:1282:50: note: candidate function not viable: no known conversion from '<dependent type>' to 'float16' (vector of 16 'float' values) for 1st argument float16 const_func __attribute__((overloadable)) sqrt(float16); ``` ^ ``` c:\constructicon\builds\gfx\two\18.10\stream\opencl\compiler\clc2\ocl-headers\build\wNow64a\B_rel\opencl12_builtins.h:11848:47: note: candidate function not viable: no known conversion from '<dependent type>' to 'half' for 1st argument half const_func __attribute__((overloadable)) sqrt(half); ``` ^ ``` c:\constructicon\builds\gfx\two\18.10\stream\opencl\compiler\clc2\ocl-headers\build\wNow64a\B_rel\opencl12_builtins.h:11849:48: note: candidate function not viable: no known conversion from '<dependent type>' to 'half2' (vector of 2 'half' values) for 1st argument half2 const_func __attribute__((overloadable)) sqrt(half2); ``` ^ ``` c:\constructicon\builds\gfx\two\18.10\stream\opencl\compiler\clc2\ocl-headers\build\wNow64a\B_rel\opencl12_builtins.h:11850:48: note: candidate function not viable: no known conversion from '<dependent type>' to 'half3' (vector of 3 'half' values) for 1st argument half3 const_func __attribute__((overloadable)) sqrt(half3); ``` ^ ``` c:\constructicon\builds\gfx\two\18.10\stream\opencl\compiler\clc2\ocl-headers\build\wNow64a\B_rel\opencl12_builtins.h:11851:48: note: candidate function not viable: no known conversion from '<dependent type>' to 'half4' (vector of 4 'half' values) for 1st argument half4 const_func __attribute__((overloadable)) sqrt(half4); ``` ^ ``` c:\constructicon\builds\gfx\two\18.10\stream\opencl\compiler\clc2\ocl-headers\build\wNow64a\B_rel\opencl12_builtins.h:11852:48: note: candidate function not viable: no known conversion from '<dependent type>' to 'half8' (vector of 8 'half' values) for 1st argument half8 const_func __attribute__((overloadable)) sqrt(half8); ``` ^ ``` c:\constructicon\builds\gfx\two\18.10\stream\opencl\compiler\clc2\ocl-headers\build\wNow64a\B_rel\opencl12_builtins.h:11853:49: note: candidate function not viable: no known conversion from '<dependent type>' to 'half16' (vector of 16 'half' values) for 1st argument half16 const_func __attribute__((overloadable)) sqrt(half16); ``` ^ ``` source\kernel/svm/svm_voronoi.h:61:28: error: implicit declaration of function 'pow3' is invalid in C99 ``` d = powf(reduce_add(pow3(n, e)), 1.0f/e); ^ ``` source\kernel/svm/svm_voronoi.h:61:33: error: use of undeclared identifier 'n' ``` d = powf(reduce_add(pow3(n, e)), 1.0f/e); ^ ``` 4 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 ```
Author

Changed status from 'Resolved' to: 'Open'

Changed status from 'Resolved' to: 'Open'
Philip k reopened this issue 2018-07-19 14:05:46 +02:00

This issue was referenced by blender/cycles@1737f46ca3

This issue was referenced by blender/cycles@1737f46ca399237f689140fa67bb74fbb915ebf2

This issue was referenced by a6f750dd41

This issue was referenced by a6f750dd4148b1c2549150128ee0c21db30039b6

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'
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#55564
No description provided.