Skip to content

Commit 87b8a9a

Browse files
chewxywissechewxy
authoredJul 18, 2022
Wipsel 128 upgrade asume no moving gc to latest version (#130)
* 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 <w.hooghiem@climotion.com> Co-authored-by: chewxy <xuanyi.chew@nine.com.au>
1 parent 9a56298 commit 87b8a9a

File tree

4 files changed

+16
-8
lines changed

4 files changed

+16
-8
lines changed
 

‎.github/workflows/.go.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
test:
1111
strategy:
1212
matrix:
13-
go: [1.13.x, 1.14.x, 1.15.x]
13+
go: [1.18.x, 1.17.x, 1.16.x, 1.15.x]
1414
os: [ubuntu-latest, macos-latest, windows-latest]
1515
tags: [avx, sse]
1616
allowfail: [false]

‎genlib2/dense_io.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -666,12 +666,12 @@ func generateDenseIO(f io.Writer, generic Kinds) {
666666
fmt.Fprintln(f, npyDescRE)
667667
fmt.Fprintln(f, rowOrderRE)
668668
fmt.Fprintln(f, shapeRE)
669-
fmt.Fprintln(f, writeNpyRaw)
669+
f.Write([]byte(writeNpyRaw))
670670
readNpy.Execute(f, mk)
671671
fmt.Fprint(f, "\n")
672672

673673
fmt.Fprint(f, "/* CSV SERIALIZATION */\n\n")
674-
fmt.Fprintln(f, writeCSVRaw)
674+
f.Write([]byte(writeCSVRaw))
675675
readCSV.Execute(f, mk)
676676
fmt.Fprint(f, "\n")
677677

‎go.mod

+11-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module gorgonia.org/tensor
22

3-
go 1.15
3+
go 1.18
44

55
require (
66
github.com/apache/arrow/go/arrow v0.0.0-20201229220542-30ce2eb5d4dc
@@ -11,9 +11,17 @@ require (
1111
github.com/google/flatbuffers v1.12.0
1212
github.com/pkg/errors v0.9.1
1313
github.com/stretchr/testify v1.6.1
14-
github.com/xtgo/set v1.0.0 // indirect
15-
go4.org/unsafe/assume-no-moving-gc v0.0.0-20201222180813-1025295fd063
14+
go4.org/unsafe/assume-no-moving-gc v0.0.0-20220617031537-928513b29760
1615
gonum.org/v1/gonum v0.8.2
1716
gorgonia.org/vecf32 v0.9.0
1817
gorgonia.org/vecf64 v0.9.0
1918
)
19+
20+
require (
21+
github.com/davecgh/go-spew v1.1.0 // indirect
22+
github.com/pmezard/go-difflib v1.0.0 // indirect
23+
github.com/xtgo/set v1.0.0 // indirect
24+
golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 // indirect
25+
google.golang.org/protobuf v1.25.0 // indirect
26+
gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c // indirect
27+
)

‎go.sum

+2-2
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,8 @@ github.com/xtgo/set v1.0.0 h1:6BCNBRv3ORNDQ7fyoJXRv+tstJz3m1JVFQErfeZz2pY=
6161
github.com/xtgo/set v1.0.0/go.mod h1:d3NHzGzSa0NmB2NhFyECA+QdRp29oEn2xbT+TpeFoM8=
6262
github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
6363
github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
64-
go4.org/unsafe/assume-no-moving-gc v0.0.0-20201222180813-1025295fd063 h1:1tk03FUNpulq2cuWpXZWj649rwJpk0d20rxWiopKRmc=
65-
go4.org/unsafe/assume-no-moving-gc v0.0.0-20201222180813-1025295fd063/go.mod h1:FftLjUGFEDu5k8lt0ddY+HcrH/qU/0qk+H8j9/nTl3E=
64+
go4.org/unsafe/assume-no-moving-gc v0.0.0-20220617031537-928513b29760 h1:FyBZqvoA/jbNzuAWLQE2kG820zMAkcilx6BMjGbL/E4=
65+
go4.org/unsafe/assume-no-moving-gc v0.0.0-20220617031537-928513b29760/go.mod h1:FftLjUGFEDu5k8lt0ddY+HcrH/qU/0qk+H8j9/nTl3E=
6666
golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w=
6767
golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI=
6868
golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto=

0 commit comments

Comments
 (0)