waifu2x-converter-cpp
waifu2x-converter-cpp copied to clipboard
Kernel is keep creating on Linux
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";