Skip to content

Commit

Permalink
Merge pull request #122 from spacemeshos/gpu_post_29
Browse files Browse the repository at this point in the history
Bump gpu post to 0.1.29
  • Loading branch information
pigmej authored Apr 6, 2023
2 parents ef5f924 + b124e74 commit 2e902a0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Makefile.Inc
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ ifneq ($(VERBOSE),)
$(info "OS: $(OS), HOST_OS: $(HOST_OS), GOOS: $(GOOS), GOARCH: $(GOARCH), BIN_DIR: $(BIN_DIR), platform: $(platform)")
endif

GPU_SETUP_REV = 0.1.28
GPU_SETUP_REV = 0.1.29
GPU_SETUP_ZIP = libgpu-setup-$(platform)-$(GPU_SETUP_REV).zip
GPU_SETUP_URL_ZIP = https://github.com/spacemeshos/gpu-post/releases/download/v$(GPU_SETUP_REV)/$(GPU_SETUP_ZIP)
ifeq ($(platform), windows)
Expand Down
2 changes: 1 addition & 1 deletion gpu/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ func ScryptPositions(opts ...OptionFunc) (*ScryptPositionsResult, error) {
return nil, fmt.Errorf("gpu-post error: already stopped")
case StopResultErrorCancelled:
return &ScryptPositionsResult{output, nil, hashesPerSec, true}, nil
case StopResultErrorNoCompoteOptions:
case StopResultErrorNoComputeOptions:
return nil, fmt.Errorf("gpu-post error: no compute options")
case StopResultErrorInvalidParameter:
return nil, fmt.Errorf("gpu-post error: invalid param")
Expand Down
2 changes: 1 addition & 1 deletion gpu/bridge.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const (
StopResultErrorTimeout = StopResult(C.SPACEMESH_API_ERROR_TIMEOUT)
StopResultErrorAlready = StopResult(C.SPACEMESH_API_ERROR_ALREADY)
StopResultErrorCancelled = StopResult(C.SPACEMESH_API_ERROR_CANCELED)
StopResultErrorNoCompoteOptions = StopResult(C.SPACEMESH_API_ERROR_NO_COMPOTE_OPTIONS)
StopResultErrorNoComputeOptions = StopResult(C.SPACEMESH_API_ERROR_NO_COMPUTE_OPTIONS)
StopResultErrorInvalidParameter = StopResult(C.SPACEMESH_API_ERROR_INVALID_PARAMETER)
StopResultErrorInvalidProvider = StopResult(C.SPACEMESH_API_ERROR_INVALID_PROVIDER_ID)
)
Expand Down

0 comments on commit 2e902a0

Please sign in to comment.