Skip to content

Commit

Permalink
poc/**.go: pass -O2 to sppark.Load().
Browse files Browse the repository at this point in the history
  • Loading branch information
dot-asm committed Jul 30, 2024
1 parent 3c53944 commit 27e811c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion poc/go/poc.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
)

func init() {
sppark.Load("poc.cu", "-arch=native")
sppark.Load("poc.cu", "-O2")
}

func CudaFunc() {
Expand Down
2 changes: 1 addition & 1 deletion poc/ntt-cuda/go/goldilocks.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import (
)

func init() {
sppark.Load("../cuda/ntt_api.cu", "-arch=native", "-DFEATURE_GOLDILOCKS")
sppark.Load("../cuda/ntt_api.cu", "-O2", "-DFEATURE_GOLDILOCKS")
}

func NTT(device_id int, inout []uint64,
Expand Down

0 comments on commit 27e811c

Please sign in to comment.