forked from cookiemonstermayhem/tarigpuminer
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(gpu_engine): handle gpu_engine not supported (#22)
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.
- Loading branch information
Showing
1 changed file
with
133 additions
and
126 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters