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

Kristforge panics when Intel iGPU OpenCL runtime installed #18

@threeoh6000

Description

@threeoh6000

I am trying to use my CPU and iGPU on my Arch Linux laptop to mine Krist and while my CPU works fine when I have intel-compute-runtime uninstalled but when I install that package to get iGPU OpenCL mining working, Kristforge now panics instead of mining.

thread 'main' panicked at 'Kernel argument type mismatch - OpenCL type "char*" is not compatible with Buffer<HostWriteOnly, u8> for argument #0 (KernelArgInfo { CL_KERNEL_ARG_ADDRESS_QUALIFIER: Constant, CL_KERNEL_ARG_ACCESS_QUALIFIER: None, CL_KERNEL_ARG_TYPE_NAME: "char*", CL_KERNEL_ARG_TYPE_QUALIFIER: ArgTypeQualifier(0b0 = NONE), CL_KERNEL_ARG_NAME: "input" }) of kernel UnboundKernel { CL_KERNEL_FUNCTION_NAME: "mine", CL_KERNEL_NUM_ARGS: 4, CL_KERNEL_REFERENCE_COUNT: 1, CL_KERNEL_CONTEXT: 0x5566489b96b0, CL_KERNEL_PROGRAM: 0x556648ba9930, CL_KERNEL_ATTRIBUTES: "" }', /cargo/registry/src/github.com-1ecc6299db9ec823/dynamic_ocl-0.1.0-alpha.1/src/safe/kernel/types.rs:218:25

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions