Commit 6da5b2a6263934ef47a145a71de21fce4d5517de

Parents: 4c2e66e34df9b0911745b99476f0de3f3cd97c49

From: Moritz Poldrack <ich@moritz-poldrack.de>
Date: Wed May 19 00:45:47 2021 +0700

fixed bootleg-simd patch

		

Stats

testdata/benchmarks/data-throughput/patches/bootleg-simd.patch +3/-3

Changeset

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
diff --git a/testdata/benchmarks/data-throughput/patches/bootleg-simd.patch b/testdata/benchmarks/data-throughput/patches/bootleg-simd.patch
index c970fd744199e4760a54c15bf8eb6b1b88361867..28d9e59329acf748c4b4f5a0fa82bdc38eab2161 100644
--- a/testdata/benchmarks/data-throughput/patches/bootleg-simd.patch
+++ b/testdata/benchmarks/data-throughput/patches/bootleg-simd.patch
@@ -1,5 +1,5 @@
 diff --git a/testdata/benchmarks/data-throughput/main.go b/testdata/benchmarks/data-throughput/main.go
-index 5713d01..a40e5ab 100644
+index bdedaec..9ac5ea1 100644
 --- a/testdata/benchmarks/data-throughput/main.go
 +++ b/testdata/benchmarks/data-throughput/main.go
 @@ -8,8 +8,8 @@ import (
@@ -13,7 +13,7 @@ +	var index int
  
  	infile, err := os.Open("indata.dat")
  	if err != nil {
-@@ -28,15 +28,15 @@ func main() {
+@@ -28,16 +28,16 @@ func main() {
  	var eof bool
  
  	for !eof {
@@ -33,5 +33,5 @@ +			index = 0
  		}
 -		writer.Write([]byte{b})
  	}
-	writer.Flush()
+ 	writer.Flush()
  }