TianZerL / Anime4KCPP

A high performance anime upscaler
GNU General Public License v3.0
1.82k stars 139 forks source link

running the cli gives me error on both with gpu and with out gpu.... #46

Open Go-Code-Ren opened 4 years ago

Go-Code-Ren commented 4 years ago

I have a AMD Radeon 520

with out -q

error:- Processing... Total process time: 0.184 s terminate called after throwing an instance of 'cv::Exception' what(): OpenCV(4.4.0) /build/opencv/src/opencv-4.4.0/modules/imgcodecs/src/loadsave.cpp:667: error: (-2:Unspecified error) could not find a writer for the specified extension in function 'imwrite_'

with -q

error;-

`An error occurred.

Error type: GPU

Error message : Kernel build error

Additional error code : -11

Additional information : input.cl:9:8: error: OpenCL C version 1.1 does not support the 'static' storage class specifier input.cl:14:8: error: OpenCL C version 1.1 does not support the 'static' storage class specifier input.cl:20:8: error: OpenCL C version 1.1 does not support the 'static' storage class specifier input.cl:34:13: error: no matching function for call to 'get_image_width' /usr/include/clc/image/image.h:1:29: note: candidate function not viable: no known conversion from 'private write_only image2d_t' to 'private read_only image2d_t' for 1st argument /usr/include/clc/image/image.h:2:29: note: candidate function not viable: no known conversion from 'private write_only image2d_t' to 'private read_only image3d_t' for 1st argument input.cl:34:45: error: no matching function for call to 'get_image_height' /usr/include/clc/image/image.h:4:29: note: candidate function not viable: no known conversion from 'private write_only image2d_t' to 'private read_only image2d_t' for 1st argument /usr/include/clc/image/image.h:5:29: note: candidate function not viable: no known conversion from 'private write_only image2d_t' to 'private read_only image3d_t' for 1st argument input.cl:62:18: error: passing 'private write_only image2d_t' to parameter of incompatible type 'read_only image2d_t' /usr/include/clc/image/image.h:19:24: note: passing argument to parameter 'image' here input.cl:68:13: error: no matching function for call to 'get_image_width' /usr/include/clc/image/image.h:1:29: note: candidate function not viable: no known conversion from 'private write_only image2d_t' to 'private read_only image2d_t' for 1st argument /usr/include/clc/image/image.h:2:29: note: candidate function not viable: no known conversion from 'private write_only image2d_t' to 'private read_only image3d_t' for 1st argument input.cl:68:45: error: no matching function for call to 'get_image_height' /usr/include/clc/image/image.h:4:29: note: candidate function not viable: no known conversion from 'private write_only image2d_t' to 'private read_only image2d_t' for 1st argument /usr/include/clc/image/image.h:5:29: note: candidate function not viable: no known conversion from 'private write_only image2d_t' to 'private read_only image3d_t' for 1st argument input.cl:78:18: error: passing 'private write_only image2d_t' to parameter of incompatible type 'read_only image2d_t' /usr/include/clc/image/image.h:19:24: note: passing argument to parameter 'image' here input.cl:153:18: error: passing 'private write_only image2d_t' to parameter of incompatible type 'read_only image2d_t' /usr/include/clc/image/image.h:19:24: note: passing argument to parameter 'image' here input.cl:180:18: error: passing 'private write_only image2d_t' to parameter of incompatible type 'read_only image2d_t' /usr/include/clc/image/image.h:19:24: note: passing argument to parameter 'image' here input.cl:209:22: error: passing 'private write_only image2d_t' to parameter of incompatible type 'read_only image2d_t' /usr/include/clc/image/image.h:19:24: note: passing argument to parameter 'image' here input.cl:218:22: error: passing 'private write_only image2d_t' to parameter of incompatible type 'read_only image2d_t' /usr/include/clc/image/image.h:19:24: note: passing argument to parameter 'image' here input.cl:228:22: error: passing 'private write_only image2d_t' to parameter of incompatible type 'read_only image2d_t' /usr/include/clc/image/image.h:19:24: note: passing argument to parameter 'image' here input.cl:237:22: error: passing 'private write_only image2d_t' to parameter of incompatible type 'read_only image2d_t' /usr/include/clc/image/image.h:19:24: note: passing argument to parameter 'image' here input.cl:247:22: error: passing 'private write_only image2d_t' to parameter of incompatible type 'read_only image2d_t' /usr/include/clc/image/image.h:19:24: note: passing argument to parameter 'image' here input.cl:256:22: error: passing 'private write_only image2d_t' to parameter of incompatible type 'read_only image2d_t' /usr/include/clc/image/image.h:19:24: note: passing argument to parameter 'image' here input.cl:266:22: error: passing 'private write_only image2d_t' to parameter of incompatible type 'read_only image2d_t' /usr/include/clc/image/image.h:19:24: note: passing argument to parameter 'image' here input.cl:274:22: error: passing 'private write_only image2d_t' to parameter of incompatible type 'read_only image2d_t' /usr/include/clc/image/image.h:19:24: note: passing argument to parameter 'image' here input.cl:279:18: error: passing 'private write_only image2d_t' to parameter of incompatible type '__read_only image2d_t' /usr/include/clc/image/image.h:19:24: note: passing argument to parameter 'image' here `

TianZerL commented 4 years ago

input.cl:9:8: error: OpenCL C version 1.1 does not support the 'static' storage class specifier

OpenCL v1.2 or higher is needed for GPU processing, you are using OpenCL 1.1 now. AMD Radeon 520 support OpenCL 2.0, please update your video card driver.

could not find a writer for the specified extension

What's your output file extension? If you want to specify the output file name, please don't forget to add an extension like output.png instead of output.