Skip to content

Commit

Permalink
Wipsel 128 upgrade asume no moving gc to latest version (#130)
Browse files Browse the repository at this point in the history
* Upgrade asume-no-moving-gc.

* Updated versions to run thests for

* Fixed so govet won't mistaken the format vebs in the templates for actual format verbs

Co-authored-by: wisse <[email protected]>
Co-authored-by: chewxy <[email protected]>
  • Loading branch information
3 people authored Jul 18, 2022
1 parent 9a56298 commit 87b8a9a
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/.go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
test:
strategy:
matrix:
go: [1.13.x, 1.14.x, 1.15.x]
go: [1.18.x, 1.17.x, 1.16.x, 1.15.x]
os: [ubuntu-latest, macos-latest, windows-latest]
tags: [avx, sse]
allowfail: [false]
Expand Down
4 changes: 2 additions & 2 deletions genlib2/dense_io.go
Original file line number Diff line number Diff line change
Expand Up @@ -666,12 +666,12 @@ func generateDenseIO(f io.Writer, generic Kinds) {
fmt.Fprintln(f, npyDescRE)
fmt.Fprintln(f, rowOrderRE)
fmt.Fprintln(f, shapeRE)
fmt.Fprintln(f, writeNpyRaw)
f.Write([]byte(writeNpyRaw))
readNpy.Execute(f, mk)
fmt.Fprint(f, "\n")

fmt.Fprint(f, "/* CSV SERIALIZATION */\n\n")
fmt.Fprintln(f, writeCSVRaw)
f.Write([]byte(writeCSVRaw))
readCSV.Execute(f, mk)
fmt.Fprint(f, "\n")

Expand Down
14 changes: 11 additions & 3 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module gorgonia.org/tensor

go 1.15
go 1.18

require (
github.com/apache/arrow/go/arrow v0.0.0-20201229220542-30ce2eb5d4dc
Expand All @@ -11,9 +11,17 @@ require (
github.com/google/flatbuffers v1.12.0
github.com/pkg/errors v0.9.1
github.com/stretchr/testify v1.6.1
github.com/xtgo/set v1.0.0 // indirect
go4.org/unsafe/assume-no-moving-gc v0.0.0-20201222180813-1025295fd063
go4.org/unsafe/assume-no-moving-gc v0.0.0-20220617031537-928513b29760
gonum.org/v1/gonum v0.8.2
gorgonia.org/vecf32 v0.9.0
gorgonia.org/vecf64 v0.9.0
)

require (
github.com/davecgh/go-spew v1.1.0 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
github.com/xtgo/set v1.0.0 // indirect
golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 // indirect
google.golang.org/protobuf v1.25.0 // indirect
gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c // indirect
)
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@ github.com/xtgo/set v1.0.0 h1:6BCNBRv3ORNDQ7fyoJXRv+tstJz3m1JVFQErfeZz2pY=
github.com/xtgo/set v1.0.0/go.mod h1:d3NHzGzSa0NmB2NhFyECA+QdRp29oEn2xbT+TpeFoM8=
github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
go4.org/unsafe/assume-no-moving-gc v0.0.0-20201222180813-1025295fd063 h1:1tk03FUNpulq2cuWpXZWj649rwJpk0d20rxWiopKRmc=
go4.org/unsafe/assume-no-moving-gc v0.0.0-20201222180813-1025295fd063/go.mod h1:FftLjUGFEDu5k8lt0ddY+HcrH/qU/0qk+H8j9/nTl3E=
go4.org/unsafe/assume-no-moving-gc v0.0.0-20220617031537-928513b29760 h1:FyBZqvoA/jbNzuAWLQE2kG820zMAkcilx6BMjGbL/E4=
go4.org/unsafe/assume-no-moving-gc v0.0.0-20220617031537-928513b29760/go.mod h1:FftLjUGFEDu5k8lt0ddY+HcrH/qU/0qk+H8j9/nTl3E=
golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w=
golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI=
golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto=
Expand Down

0 comments on commit 87b8a9a

Please sign in to comment.