Skip to content

Commit 085a9bb

Browse files
author
Ikko Ashimine
authored
[benchmark] Fix typo in SIMDReduceInteger.swift
Intialize -> Initialize
1 parent d1bb98b commit 085a9bb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

benchmark/single-source/SIMDReduceInteger.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ let int32Data: UnsafeBufferPointer<Int32> = {
8585
let untyped = UnsafeMutableRawBufferPointer.allocate(
8686
byteCount: MemoryLayout<Int32>.size * count, alignment: 16
8787
)
88-
// Intialize the memory as Int32 and fill with random values.
88+
// Initialize the memory as Int32 and fill with random values.
8989
let typed = untyped.initializeMemory(as: Int32.self, repeating: 0)
9090
var g = SplitMix64(seed: 0)
9191
for i in 0 ..< typed.count {
@@ -172,7 +172,7 @@ let int8Data: UnsafeBufferPointer<Int8> = {
172172
let untyped = UnsafeMutableRawBufferPointer.allocate(
173173
byteCount: MemoryLayout<Int8>.size * count, alignment: 16
174174
)
175-
// Intialize the memory as Int8 and fill with random values.
175+
// Initialize the memory as Int8 and fill with random values.
176176
let typed = untyped.initializeMemory(as: Int8.self, repeating: 0)
177177
var g = SplitMix64(seed: 0)
178178
for i in 0 ..< typed.count {

0 commit comments

Comments
 (0)