Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CUDA & compression #267

Merged
merged 49 commits into from
Aug 4, 2023
Merged

CUDA & compression #267

merged 49 commits into from
Aug 4, 2023

Conversation

harold-b
Copy link
Contributor

@harold-b harold-b commented Feb 9, 2023

No description provided.

VERSION Outdated Show resolved Hide resolved
@wallentx wallentx dismissed their stale review March 10, 2023 23:16

dismiss

harold-b and others added 13 commits March 14, 2023 13:01
- Add power simulation mode via `--power`.
- Fix small bug in decompression which used
more compute than necessarry.
to chiapos's but with random seeds.
And other simulator fixes
* Added support for first pass of CUDA-based harvesting, with low matching performance.
* Added support for C9 plots
* Disabled creation of C8 plots for now (compression values not yet generated)
* PlotWriter consecutive plot bug workaround for `cudaplot`
* PlotWriter consecutive plot bug workaround for `ramplot`
* Refactor CMake build files

* Created separate `bladebit_harvester` target meant
   to be used as a dependency.

* Spelling fixes and build fixes.

* Fixed CUDA harvesting qualities

* Updated CI to for new harvester target

* Other bug fixed

* Made harvester API more portable, and able to be dynamically loaded

* Add API to get compression info directly into the harvester API

* version bump alpha4

Co-authored-by:  Kyle Altendorf <k.altendorf@chia.net>
Co-authored-by:  William Allen <w.allen@chia.net>
* Adding harvester build changes

* Enabled windows harvester builds w/ CUDA

---------

Co-authored-by: Harold Brenes <h.brenes@chia.net>
@harold-b harold-b force-pushed the cuda-compression branch from 400180c to 85c7654 Compare May 12, 2023 21:42
haorldbchi and others added 9 commits May 12, 2023 18:46
Addresses issue reported in #319
* adding gencode fix for linker

* I AM LINTER

* argg keyboard
* Fixing arm64 conditional

* adding arm64 builds

* Remove else
* Testing m1 mac builds

* Adding libsodium

* export cpath and library path

* Building libsodium from src

* fixing syntax

* Specify host

* Adding paths

Signed-off-by: wallentx <william.allentx@gmail.com>

* Fixing CI

Signed-off-by: wallentx <william.allentx@gmail.com>

* Fix conditional

Signed-off-by: wallentx <william.allentx@gmail.com>

* Re-enabling all other jobs

Signed-off-by: wallentx <william.allentx@gmail.com>

* Make libsodium optional

---------

Signed-off-by: wallentx <william.allentx@gmail.com>
- Add in CPU-only macOS harvesting at the build level.
- GreenReaper DLL target also available as a separate one from the static one.
* Update CMakeLists.txt tracking of bls-signatures
Copy link
Member

@hoffmang9 hoffmang9 left a comment

Choose a reason for hiding this comment

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

lgtm

* Fixing issue with CUDA decompression context
remaining unusable after an error.

* Fix virtual memory allocation issues.

* Implement missing SysHost::VirtualProtect on Windows.

* Revert harvester to single, configurable lib target,
  defaulting to a dynamic library.
@harold-b harold-b force-pushed the cuda-compression branch from 0ee2a1e to aee1b64 Compare July 2, 2023 20:35
haorldbchi and others added 11 commits July 19, 2023 14:10
* Enable PDB-based stack trace dumping on windows

* Dump stack trace on VirtualFree failure
* Shrinking cuda install, add all assets to attach

* Bumping runner image

* Adding redhat-lsb-core

* Trying local install without samples

* Trying our manylinux cuda image

* More cleanup

* toolkit only

* Set version for RC

* Fixing artifact extension nesting

* Fix windows artifact extension
* Add CentOS arm64 CI for bladebit

* fix centos workflow
Signed-off-by: wallentx <william.allentx@gmail.com>
* passing all architectures explicitly into bladebit harvester library
@wallentx wallentx merged commit bb36c26 into develop Aug 4, 2023
@wallentx wallentx deleted the cuda-compression branch August 4, 2023 22:28
@wallentx wallentx restored the cuda-compression branch August 5, 2023 05:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants