Skip to content
This repository has been archived by the owner on Jun 2, 2022. It is now read-only.

Kernel is keep creating on Linux #239

Open
YukihoAA opened this issue Apr 30, 2020 · 0 comments
Open

Kernel is keep creating on Linux #239

YukihoAA opened this issue Apr 30, 2020 · 0 comments

Comments

@YukihoAA
Copy link
Collaborator

YukihoAA commented Apr 30, 2020

in linux, opencl kernel file is keep created without consider kernel is exists or not.

because, on existing check code, on L412 in modelHandler_OpenCL.cpp,

std::string bin_path = std::string(self_path) + "/" + dev_nameStr + ".bin";

but output bin path without root permission is L560

user_folder = std::string($Home) + "/.waifu2x";
bin_path = user_folder + "/" + dev_nameStr + ".bin";

Artturin added a commit to Artturin/waifu2x-converter-cpp that referenced this issue May 1, 2020
@YukihoAA YukihoAA added the Linux label May 15, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant