Giter VIP home page Giter VIP logo

Comments (7)

TianZerL avatar TianZerL commented on May 9, 2024 1

预编译用的opencl sdk是2.2版的,但兼容1.2以及更高版本使用。
装个Intel的opencl CPU运行时,应该就能打开了。

from anime4kcpp.

CatBlack5 avatar CatBlack5 commented on May 9, 2024

运行时当时没找到。。。好不容易才找到。。
CPU可以了,但是GPU死活不能用,显卡驱动一直装,列出GPU也可以看到
image
但是用GPU就崩溃
下面是CPU:
image
GPU设置:
image
GPU运行:
image
然后就崩溃了。。
在Waifu2x里也是CPU可用,GPU不可用
image

我在Intel的官网上找发现OpenCL Runtime结果跟我提示包含在驱动里。。。
image

from anime4kcpp.

TianZerL avatar TianZerL commented on May 9, 2024

hd4000原生支持opencl 1.1,对于opencl 1.2我不确定是否后期兼容支持完全了,程序中是用到了1.2的特性的。当然崩溃的原因也可能是图片过大(CPU跑了4s+,不过我看也就放大到2k,应该不至于,稍微新一点的hd4600跑个8k->16k还是可以的),显存不够(这种情况应该是会有报错提示的)。
关于Intel 运行时的问题,因为预编译用的OpenCL 2.2的sdk,所以会有一个函数(报错提示的那个)1.2版本的运行时没有(Nvidia的除外,虽然写着只支持1.2,但不缺函数),因此需要装个高版本的CPU运行时,补上那个函数,就可以打开了。

from anime4kcpp.

TianZerL avatar TianZerL commented on May 9, 2024

这有个用Nvidia的OpenCL 1.2 编译的版本,你可以试试能不能用.

Anime4KCPP_2.4.0_Beta_with_opencl_1.2_nvidia.zip

from anime4kcpp.

CatBlack5 avatar CatBlack5 commented on May 9, 2024

行啊
还是我太菜
image
替换了一下文件
image
image
速度感觉很不错
image
兼容性测试也完美过了
image
就有点想不通为什么GPU比CPU兼容的多,但是GPU不支持而CPU支持。。。
image
image
感谢作者的耐心解答
Thanks♪(・ω・)ノ
image

from anime4kcpp.

TianZerL avatar TianZerL commented on May 9, 2024

这个兼容性不准吧,HD4000硬件只支持到OpenCL 1.1(1.2都是后来驱动加的),CPU的话毕竟是模拟支持,Intel愿意想支持到多少都可以👀。不过CPU版的算法其实并没有用到opencl,是使用原生c++实现的,装cpu opencl运行时只是补上一些库。

from anime4kcpp.

CatBlack5 avatar CatBlack5 commented on May 9, 2024

阿这
好吧能用就好
谢谢~

from anime4kcpp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.