You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Either the kernel is written in a wrong way or this lib is bugged.
It prints these(and more) errors to the console
clBuildProgram failed
************************************************
C:\Users\R0B3\AppData\Local\Temp\\OCL21676T0.cl:11:20: error: expected member name or ';' after declaration specifiers
__global float *kernel;
~~~~~~~~~~~~~~ ^
C:\Users\R0B3\AppData\Local\Temp\\OCL21676T0.cl:11:20: error: expected ';' at end of declaration list
__global float *kernel;
^
;
C:\Users\R0B3\AppData\Local\Temp\\OCL21676T0.cl:20:156: error: expected ')'
double org_opennars_applications_cv_Conv__conv4( __global int* imgArr, int imgWidth, int imgHeight, int kernelCenterX, int kernelCenterY, __global float* kernel, int kernelSize){
^
C:\Users\R0B3\AppData\Local\Temp\\OCL21676T0.cl:20:48: note: to match this '('
double org_opennars_applications_cv_Conv__conv4( __global int* imgArr, int imgWidth, int imgHeight, int kernelCenterX, int kernelCenterY, __global float* kernel, int kernelSize){
^
C:\Users\R0B3\AppData\Local\Temp\\OCL21676T0.cl:20:156: error: parameter name omitted
double org_opennars_applications_cv_Conv__conv4( __global int* imgArr, int imgWidth, int imgHeight, int kernelCenterX, int kernelCenterY, __global float* kernel, int kernelSize){
^
C:\Users\R0B3\AppData\Local\Temp\\OCL21676T0.cl:22:19: error: use of undeclared identifier 'kernelSize'
for (int dy = -kernelSize / 2; dy<(kernelSize / 2); dy++){
^
Either the kernel is written in a wrong way or this lib is bugged.
It prints these(and more) errors to the console
when compiling
https://pastebin.com/Dmtj3758
The text was updated successfully, but these errors were encountered: