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

feat: allow engine selection#35

Merged
stringhandler merged 32 commits intostringhandler:mainfrom
Misieq01:feat/allow-engine-selection
Mar 6, 2025
Merged

feat: allow engine selection#35
stringhandler merged 32 commits intostringhandler:mainfrom
Misieq01:feat/allow-engine-selection

Conversation

@Misieq01
Copy link

@Misieq01 Misieq01 commented Feb 5, 2025

Branch created from #31

[ Summary ]

  • Added multi_engine_wrapper for managing used engine depending on user selection
  • Changed gpu_status file logic => Now we are creating one file per engine ( for example CUDA_gpu_status.json )
  • Changed gpu_status file structure
  • We are now storing is_excluded flag inside gpu_status file and allow frontend to update it for easier tracking of which device should be disable

Misieq01 and others added 24 commits January 17, 2025 09:15
Signed-off-by: Rumble Fish <rumblefish@192.168.1.24>
Signed-off-by: Misieq01 <bartosz2000walczak@gmail.com>
Signed-off-by: Rumble Fish <rumblefish@192.168.1.24>
Signed-off-by: Misieq01 <bartosz2000walczak@gmail.com>
Signed-off-by: Rumble Fish <rumblefish@192.168.1.24>
Signed-off-by: Misieq01 <bartosz2000walczak@gmail.com>
Signed-off-by: Rumble Fish <rumblefish@192.168.1.24>
Signed-off-by: Misieq01 <bartosz2000walczak@gmail.com>
Signed-off-by: Rumble Fish <rumblefish@192.168.1.24>
Signed-off-by: Misieq01 <bartosz2000walczak@gmail.com>
Signed-off-by: Rumble Fish <rumblefish@192.168.1.24>
Signed-off-by: Misieq01 <bartosz2000walczak@gmail.com>
Signed-off-by: Rumble Fish <rumblefish@192.168.1.24>
Signed-off-by: Misieq01 <bartosz2000walczak@gmail.com>
We need an updated concensus for the reset
Fix build for cross-compiled platforms - linux-arm64/linux-riscv
Seems there is a multi version conflict in getrandom crate
Copy link

@SWvheerden SWvheerden left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking good,
Just a few things

  • There are a few files which I think might need to be in the .gitignore file so that it does not need checking in.
  • A lot of cfg compiler flags makes later code management hard, I think we can reduce them somewhat so that we don't need so many cfg compiler blocks.
  • Some uncommented code left in the code that we should remove.

@Misieq01 Misieq01 mentioned this pull request Feb 13, 2025
@stringhandler stringhandler merged commit eceff6c into stringhandler:main Mar 6, 2025
brianp pushed a commit to tari-project/universe that referenced this pull request Mar 6, 2025
### [ Summary ]
- Added support for managing engine selection
- Added option in experimental settings to switch between detected
engines
- Updated support for new gpu_status_file structure
- Stopped using gpu devices from HardwareMonitor

### [ Testing ]
- Build new gpu_miner binary from
stringhandler/tarigpuminer#35 with
`--features nvidia,opencl` for `windows`/`linux` or `--features
opencl,metal` for `macos`
- Replace current gpu_miner binary in binaries folder
- Run tari universe and play around with gpu mining, toggling device
exclusion, switching engines


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

- **New Features**
- Added a new GPU engine selection option in the settings with full
localization support.
- Introduced a dedicated interface element for choosing and updating the
GPU engine, streamlining mining configuration.
- **Enhancements**
- Improved GPU device management with a simplified exclusion toggle and
refined mining status updates for a smoother user experience.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
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.

5 participants