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

Kernel is keep creating on Linux #239

@YukihoAA

Description

@YukihoAA

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";

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions