From 085a9bb06a9199ed6a10ff0cfb79b43bd39c29d4 Mon Sep 17 00:00:00 2001 From: Ikko Ashimine Date: Sun, 26 Dec 2021 14:37:12 +0900 Subject: [PATCH] [benchmark] Fix typo in SIMDReduceInteger.swift Intialize -> Initialize --- benchmark/single-source/SIMDReduceInteger.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/benchmark/single-source/SIMDReduceInteger.swift b/benchmark/single-source/SIMDReduceInteger.swift index cd207f856aa..67b492a53a7 100644 --- a/benchmark/single-source/SIMDReduceInteger.swift +++ b/benchmark/single-source/SIMDReduceInteger.swift @@ -85,7 +85,7 @@ let int32Data: UnsafeBufferPointer = { let untyped = UnsafeMutableRawBufferPointer.allocate( byteCount: MemoryLayout.size * count, alignment: 16 ) - // Intialize the memory as Int32 and fill with random values. + // Initialize the memory as Int32 and fill with random values. let typed = untyped.initializeMemory(as: Int32.self, repeating: 0) var g = SplitMix64(seed: 0) for i in 0 ..< typed.count { @@ -172,7 +172,7 @@ let int8Data: UnsafeBufferPointer = { let untyped = UnsafeMutableRawBufferPointer.allocate( byteCount: MemoryLayout.size * count, alignment: 16 ) - // Intialize the memory as Int8 and fill with random values. + // Initialize the memory as Int8 and fill with random values. let typed = untyped.initializeMemory(as: Int8.self, repeating: 0) var g = SplitMix64(seed: 0) for i in 0 ..< typed.count {