Skip to content
This repository was archived by the owner on Mar 11, 2025. It is now read-only.

fix(gpu_engine): handle gpu_engine not supported#22

Merged
stringhandler merged 1 commit intostringhandler:mainfrom
mmrrnn:handle_not_supported_gpu_engine_case
Oct 31, 2024
Merged

fix(gpu_engine): handle gpu_engine not supported#22
stringhandler merged 1 commit intostringhandler:mainfrom
mmrrnn:handle_not_supported_gpu_engine_case

Conversation

@mmrrnn
Copy link

@mmrrnn mmrrnn commented Oct 31, 2024

I'm using intel's integrated card so the app panics here:

    #[cfg(feature = "nvidia")]
    let mut gpu_engine = GpuEngine::new(CudaEngine::new());

    #[cfg(feature = "opencl3")]
    let mut gpu_engine = GpuEngine::new(OpenClEngine::new());

    gpu_engine.init().unwrap();

Since I haven't found any alternatives to address my situation, I have decided to simply return a print error and exit with code 1. This approach will resolve the issue of false positive detections, which currently lead to a continuous restart loop of the GPU miner in the Tari universe.

@stringhandler stringhandler merged commit e9519d5 into stringhandler:main Oct 31, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants