Build Information
Successful build of NumSwift, reference 2.0.15 (d15cca
), with Swift 6.1 for macOS (SPM) on 19 Aug 2025 06:39:53 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Build Log
========================================
RunAll
========================================
Builder version: 4.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/wvabrinskas/NumSwift.git
Reference: 2.0.15
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/wvabrinskas/NumSwift
* tag 2.0.15 -> FETCH_HEAD
HEAD is now at d15ccab Merge pull request #13 from wvabrinskas/develop
Cloned https://github.com/wvabrinskas/NumSwift.git
Revision (git rev-parse @):
d15ccabfa821ec8554e0b179347ae21052368420
SUCCESS checkout https://github.com/wvabrinskas/NumSwift.git at 2.0.15
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "numswift",
"name": "NumSwift",
"url": "https://github.com/wvabrinskas/NumSwift.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/NumSwift",
"dependencies": [
]
}
]
}
Fetching https://github.com/wvabrinskas/NumSwift.git
[14/1365] Fetching numswift
Fetched https://github.com/wvabrinskas/NumSwift.git from cache (0.79s)
Creating working copy for https://github.com/wvabrinskas/NumSwift.git
Working copy of https://github.com/wvabrinskas/NumSwift.git resolved at 2.0.15 (d15ccab)
warning: '.resolve-product-dependencies': dependency 'numswift' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/wvabrinskas/NumSwift.git
https://github.com/wvabrinskas/NumSwift.git
{
"dependencies" : [
],
"manifest_display_name" : "NumSwift",
"name" : "NumSwift",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "14.0"
},
{
"name" : "tvos",
"version" : "14.0"
},
{
"name" : "watchos",
"version" : "7.0"
},
{
"name" : "macos",
"version" : "11.0"
}
],
"products" : [
{
"name" : "NumSwift",
"targets" : [
"NumSwift",
"NumSwiftC"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "NumSwiftTests",
"module_type" : "SwiftTarget",
"name" : "NumSwiftTests",
"path" : "Tests/NumSwiftTests",
"sources" : [
"Benchmarks.swift",
"NumSwiftTests.swift",
"NumSwiftTestsFloat16.swift"
],
"target_dependencies" : [
"NumSwift"
],
"type" : "test"
},
{
"c99name" : "NumSwiftC",
"module_type" : "ClangTarget",
"name" : "NumSwiftC",
"path" : "Sources/NumSwiftC",
"product_memberships" : [
"NumSwift"
],
"sources" : [
"numswiftc.c",
"numswiftc_base.c"
],
"type" : "library"
},
{
"c99name" : "NumSwift",
"module_type" : "SwiftTarget",
"name" : "NumSwift",
"path" : "Sources/NumSwift",
"product_memberships" : [
"NumSwift"
],
"sources" : [
"BaseNumeric.swift",
"Double.swift",
"Extensions.swift",
"Float16.swift",
"Float32.swift",
"NumSwift.swift",
"NumSwiftC/Base/NumSwiftCF16Base.swift",
"NumSwiftC/NumSwiftC.swift",
"NumSwiftC/NumSwiftC_Float16.swift"
],
"target_dependencies" : [
"NumSwiftC"
],
"type" : "library"
}
],
"tools_version" : "5.5"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/4] Write sources
[1/4] Write swift-version-2F0A5646E1D333AE.txt
[2/4] Compiling NumSwiftC numswiftc_base.c
[3/4] Compiling NumSwiftC numswiftc.c
[5/14] Compiling NumSwift BaseNumeric.swift
/Users/admin/builder/spi-builder-workspace/Sources/NumSwift/BaseNumeric.swift:105:7: warning: capture of 'block' with non-sendable type '(Element, Int, Int, UUID) -> ()' in a '@Sendable' closure; this is an error in the Swift 6 language mode
103 | func concurrentForEach(workers: Int, priority: DispatchQoS.QoSClass = .default, _ block: @escaping (_ element: Element, _ index: Int, _ processingCount: Int, _ workerId: UUID) -> ()) {
104 | DispatchQueue.concurrentPerform(units: self.count, workers: workers, priority: priority) { i, count, workerId in
105 | block(self[i], i, count, workerId)
| |- warning: capture of 'block' with non-sendable type '(Element, Int, Int, UUID) -> ()' in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
106 | }
107 | }
/Users/admin/builder/spi-builder-workspace/Sources/NumSwift/BaseNumeric.swift:105:13: warning: capture of 'self' with non-sendable type 'Array<Element>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
103 | func concurrentForEach(workers: Int, priority: DispatchQoS.QoSClass = .default, _ block: @escaping (_ element: Element, _ index: Int, _ processingCount: Int, _ workerId: UUID) -> ()) {
104 | DispatchQueue.concurrentPerform(units: self.count, workers: workers, priority: priority) { i, count, workerId in
105 | block(self[i], i, count, workerId)
| `- warning: capture of 'self' with non-sendable type 'Array<Element>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
106 | }
107 | }
/Users/admin/builder/spi-builder-workspace/Sources/NumSwift/BaseNumeric.swift:111:7: warning: capture of 'block' with non-sendable type '(Element, Int) -> ()' in a '@Sendable' closure; this is an error in the Swift 6 language mode
109 | func concurrentForEach(workers: Int, priority: DispatchQoS.QoSClass = .default, _ block: @escaping (_ element: Element, _ index: Int) -> ()) {
110 | DispatchQueue.concurrentPerform(units: self.count, workers: workers, priority: priority) { i in
111 | block(self[i], i)
| |- warning: capture of 'block' with non-sendable type '(Element, Int) -> ()' in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
112 | }
113 | }
/Users/admin/builder/spi-builder-workspace/Sources/NumSwift/BaseNumeric.swift:111:13: warning: capture of 'self' with non-sendable type 'Array<Element>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
109 | func concurrentForEach(workers: Int, priority: DispatchQoS.QoSClass = .default, _ block: @escaping (_ element: Element, _ index: Int) -> ()) {
110 | DispatchQueue.concurrentPerform(units: self.count, workers: workers, priority: priority) { i in
111 | block(self[i], i)
| `- warning: capture of 'self' with non-sendable type 'Array<Element>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
112 | }
113 | }
/Users/admin/builder/spi-builder-workspace/Sources/NumSwift/BaseNumeric.swift:120:7: warning: capture of 'block' with non-sendable type '(Element, Int) -> ()' in a '@Sendable' closure
118 | DispatchQueue.concurrentPerform(iterations: self.count) { i in
119 | group.enter()
120 | block(self[i], i)
| |- warning: capture of 'block' with non-sendable type '(Element, Int) -> ()' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
121 | group.leave()
122 | }
/Users/admin/builder/spi-builder-workspace/Sources/NumSwift/BaseNumeric.swift:120:13: warning: capture of 'self' with non-sendable type 'Array<Element>' in a '@Sendable' closure
118 | DispatchQueue.concurrentPerform(iterations: self.count) { i in
119 | group.enter()
120 | block(self[i], i)
| `- warning: capture of 'self' with non-sendable type 'Array<Element>' in a '@Sendable' closure
121 | group.leave()
122 | }
[6/14] Compiling NumSwift Extensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/NumSwift/Extensions.swift:34:9: warning: capture of 'task' with non-sendable type '(CountableRange<Int>, Int, Int, UUID) -> ()' (aka '(Range<Int>, Int, Int, UUID) -> ()') in a '@Sendable' closure
32 |
33 | DispatchQueue.global(qos: priority).async {
34 | task(taskRange, workerID, taskRange.count, workerUuid)
| |- warning: capture of 'task' with non-sendable type '(CountableRange<Int>, Int, Int, UUID) -> ()' (aka '(Range<Int>, Int, Int, UUID) -> ()') in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
35 |
36 | sema.signal()
/Users/admin/builder/spi-builder-workspace/Sources/NumSwift/Extensions.swift:61:11: warning: capture of 'task' with non-sendable type '(Int, Int, UUID) -> ()' in a '@Sendable' closure
59 | DispatchQueue.global(qos: priority).async {
60 | for unitID in taskRange {
61 | task(unitID, taskRange.count, workerUuid)
| |- warning: capture of 'task' with non-sendable type '(Int, Int, UUID) -> ()' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
62 | }
63 |
/Users/admin/builder/spi-builder-workspace/Sources/NumSwift/Extensions.swift:87:11: warning: capture of 'task' with non-sendable type '(Int) -> ()' in a '@Sendable' closure
85 | DispatchQueue.global(qos: priority).async {
86 | for unitID in taskRange {
87 | task(unitID)
| |- warning: capture of 'task' with non-sendable type '(Int) -> ()' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
88 | }
89 |
/Users/admin/builder/spi-builder-workspace/Sources/NumSwift/Extensions.swift:115:11: warning: capture of 'results' with non-sendable type '[Result?]' in a '@Sendable' closure
97 | }
98 |
99 | static func concurrentPerform<Result>(units: Int, workers: Int, priority: DispatchQoS.QoSClass = .default, task: @escaping (Int) -> Result) -> [Result] {
| `- note: consider making generic parameter 'Result' conform to the 'Sendable' protocol
100 | let sema = DispatchSemaphore(value: 0)
101 | let tasksPerWorker = units / workers
:
113 | DispatchQueue.global(qos: priority).async {
114 | for unitID in taskRange {
115 | results[unitID] = task(unitID)
| `- warning: capture of 'results' with non-sendable type '[Result?]' in a '@Sendable' closure
116 | }
117 |
/Users/admin/builder/spi-builder-workspace/Sources/NumSwift/Extensions.swift:115:29: warning: capture of 'task' with non-sendable type '(Int) -> Result' in a '@Sendable' closure
113 | DispatchQueue.global(qos: priority).async {
114 | for unitID in taskRange {
115 | results[unitID] = task(unitID)
| |- warning: capture of 'task' with non-sendable type '(Int) -> Result' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
116 | }
117 |
/Users/admin/builder/spi-builder-workspace/Sources/NumSwift/Extensions.swift:115:11: warning: mutation of captured var 'results' in concurrently-executing code
113 | DispatchQueue.global(qos: priority).async {
114 | for unitID in taskRange {
115 | results[unitID] = task(unitID)
| `- warning: mutation of captured var 'results' in concurrently-executing code
116 | }
117 |
[7/14] Emitting module NumSwift
/Users/admin/builder/spi-builder-workspace/Sources/NumSwift/NumSwiftC/NumSwiftC_Float16.swift:14:3: warning: 'public' modifier is redundant for static method declared in a public extension
12 | public extension NumSwiftC {
13 |
14 | public static func add(_ a: [[Float16]], _ b: [[Float16]]) -> [[Float16]] {
| `- warning: 'public' modifier is redundant for static method declared in a public extension
15 | let shape = a.shape
16 | let rows = shape[safe: 1] ?? 0
/Users/admin/builder/spi-builder-workspace/Sources/NumSwift/NumSwiftC/NumSwiftC_Float16.swift:41:3: warning: 'public' modifier is redundant for static method declared in a public extension
39 | }
40 |
41 | public static func sub(_ a: [[Float16]], _ b: [[Float16]]) -> [[Float16]] {
| `- warning: 'public' modifier is redundant for static method declared in a public extension
42 | let shape = a.shape
43 | let rows = shape[safe: 1] ?? 0
/Users/admin/builder/spi-builder-workspace/Sources/NumSwift/NumSwiftC/NumSwiftC_Float16.swift:68:3: warning: 'public' modifier is redundant for static method declared in a public extension
66 | }
67 |
68 | public static func divide(_ a: [[Float16]], _ b: [[Float16]]) -> [[Float16]] {
| `- warning: 'public' modifier is redundant for static method declared in a public extension
69 | let shape = a.shape
70 | let rows = shape[safe: 1] ?? 0
/Users/admin/builder/spi-builder-workspace/Sources/NumSwift/NumSwiftC/NumSwiftC_Float16.swift:95:3: warning: 'public' modifier is redundant for static method declared in a public extension
93 | }
94 |
95 | public static func mult(_ a: [[Float16]], _ b: [[Float16]]) -> [[Float16]] {
| `- warning: 'public' modifier is redundant for static method declared in a public extension
96 | let shape = a.shape
97 | let rows = shape[safe: 1] ?? 0
/Users/admin/builder/spi-builder-workspace/Sources/NumSwift/NumSwiftC/NumSwiftC_Float16.swift:124:3: warning: 'public' modifier is redundant for static method declared in a public extension
122 | // MARK: - 2D Arithmetic with Scalar Operations
123 |
124 | public static func add(_ a: [[Float16]], scalar: Float16) -> [[Float16]] {
| `- warning: 'public' modifier is redundant for static method declared in a public extension
125 | let shape = a.shape
126 | let rows = shape[safe: 1] ?? 0
/Users/admin/builder/spi-builder-workspace/Sources/NumSwift/NumSwiftC/NumSwiftC_Float16.swift:148:3: warning: 'public' modifier is redundant for static method declared in a public extension
146 | }
147 |
148 | public static func add(_ a: [[Float16]], array: [Float16]) -> [[Float16]] {
| `- warning: 'public' modifier is redundant for static method declared in a public extension
149 | let shape = a.shape
150 | let rows = shape[safe: 1] ?? 0
/Users/admin/builder/spi-builder-workspace/Sources/NumSwift/NumSwiftC/NumSwiftC_Float16.swift:172:3: warning: 'public' modifier is redundant for static method declared in a public extension
170 | }
171 |
172 | public static func sub(_ a: [[Float16]], scalar: Float16) -> [[Float16]] {
| `- warning: 'public' modifier is redundant for static method declared in a public extension
173 | let shape = a.shape
174 | let rows = shape[safe: 1] ?? 0
/Users/admin/builder/spi-builder-workspace/Sources/NumSwift/NumSwiftC/NumSwiftC_Float16.swift:196:3: warning: 'public' modifier is redundant for static method declared in a public extension
194 | }
195 |
196 | public static func sub(_ a: [[Float16]], array: [Float16]) -> [[Float16]] {
| `- warning: 'public' modifier is redundant for static method declared in a public extension
197 | let shape = a.shape
198 | let rows = shape[safe: 1] ?? 0
/Users/admin/builder/spi-builder-workspace/Sources/NumSwift/NumSwiftC/NumSwiftC_Float16.swift:220:3: warning: 'public' modifier is redundant for static method declared in a public extension
218 | }
219 |
220 | public static func mult(_ a: [[Float16]], scalar: Float16) -> [[Float16]] {
| `- warning: 'public' modifier is redundant for static method declared in a public extension
221 | let shape = a.shape
222 | let rows = shape[safe: 1] ?? 0
/Users/admin/builder/spi-builder-workspace/Sources/NumSwift/NumSwiftC/NumSwiftC_Float16.swift:244:3: warning: 'public' modifier is redundant for static method declared in a public extension
242 | }
243 |
244 | public static func mult(_ a: [[Float16]], array: [Float16]) -> [[Float16]] {
| `- warning: 'public' modifier is redundant for static method declared in a public extension
245 | let shape = a.shape
246 | let rows = shape[safe: 1] ?? 0
/Users/admin/builder/spi-builder-workspace/Sources/NumSwift/NumSwiftC/NumSwiftC_Float16.swift:268:3: warning: 'public' modifier is redundant for static method declared in a public extension
266 | }
267 |
268 | public static func divide(_ a: [[Float16]], scalar: Float16) -> [[Float16]] {
| `- warning: 'public' modifier is redundant for static method declared in a public extension
269 | let shape = a.shape
270 | let rows = shape[safe: 1] ?? 0
/Users/admin/builder/spi-builder-workspace/Sources/NumSwift/NumSwiftC/NumSwiftC_Float16.swift:292:3: warning: 'public' modifier is redundant for static method declared in a public extension
290 | }
291 |
292 | public static func divide(_ a: [[Float16]], array: [Float16]) -> [[Float16]] {
| `- warning: 'public' modifier is redundant for static method declared in a public extension
293 | let shape = a.shape
294 | let rows = shape[safe: 1] ?? 0
/Users/admin/builder/spi-builder-workspace/Sources/NumSwift/NumSwiftC/NumSwiftC_Float16.swift:316:3: warning: 'public' modifier is redundant for static method declared in a public extension
314 | }
315 |
316 | public static func tranpose(_ a: [[Float16]], size: (rows: Int, columns: Int)) -> [[Float16]] {
| `- warning: 'public' modifier is redundant for static method declared in a public extension
317 | let result: [[Float16]] = NumSwift.zerosLike((rows: size.columns, columns: size.rows))
318 |
/Users/admin/builder/spi-builder-workspace/Sources/NumSwift/NumSwiftC/NumSwiftC_Float16.swift:335:3: warning: 'public' modifier is redundant for static method declared in a public extension
333 | }
334 |
335 | public static func matmul(_ a: [[Float16]],
| `- warning: 'public' modifier is redundant for static method declared in a public extension
336 | b: [[Float16]],
337 | aSize: (rows: Int, columns: Int),
/Users/admin/builder/spi-builder-workspace/Sources/NumSwift/NumSwiftC/NumSwiftC_Float16.swift:362:3: warning: 'public' modifier is redundant for static method declared in a public extension
360 | }
361 |
362 | public static func flatten(_ input: [[Float16]], inputSize: (rows: Int, columns: Int)? = nil) -> [Float16] {
| `- warning: 'public' modifier is redundant for static method declared in a public extension
363 |
364 | let shape = input.shape
/Users/admin/builder/spi-builder-workspace/Sources/NumSwift/NumSwiftC/NumSwiftC_Float16.swift:384:3: warning: 'public' modifier is redundant for static method declared in a public extension
382 | }
383 |
384 | public static func stridePad(signal: [[Float16]],
| `- warning: 'public' modifier is redundant for static method declared in a public extension
385 | strides: (rows: Int, columns: Int)) -> [[Float16]] {
386 |
/Users/admin/builder/spi-builder-workspace/Sources/NumSwift/NumSwiftC/NumSwiftC_Float16.swift:417:3: warning: 'public' modifier is redundant for static method declared in a public extension
415 | }
416 |
417 | public static func stridePad1D(signal: [Float16],
| `- warning: 'public' modifier is redundant for static method declared in a public extension
418 | strides: (rows: Int, columns: Int)) -> [Float16] {
419 |
/Users/admin/builder/spi-builder-workspace/Sources/NumSwift/NumSwiftC/NumSwiftC_Float16.swift:444:3: warning: 'public' modifier is redundant for static method declared in a public extension
442 | }
443 |
444 | public static func zeroPad(signal: [[Float16]],
| `- warning: 'public' modifier is redundant for static method declared in a public extension
445 | padding: NumSwiftPadding) -> [[Float16]] {
446 |
/Users/admin/builder/spi-builder-workspace/Sources/NumSwift/NumSwiftC/NumSwiftC_Float16.swift:479:3: warning: 'public' modifier is redundant for static method declared in a public extension
477 | }
478 |
479 | public static func zeroPad(signal: [[Float16]],
| `- warning: 'public' modifier is redundant for static method declared in a public extension
480 | filterSize: (rows: Int, columns: Int),
481 | inputSize: (rows: Int, columns: Int),
/Users/admin/builder/spi-builder-workspace/Sources/NumSwift/NumSwiftC/NumSwiftC_Float16.swift:521:3: warning: 'public' modifier is redundant for static method declared in a public extension
519 | }
520 |
521 | public static func conv2d(signal: [[Float16]],
| `- warning: 'public' modifier is redundant for static method declared in a public extension
522 | filter: [[Float16]],
523 | strides: (Int, Int) = (1,1),
/Users/admin/builder/spi-builder-workspace/Sources/NumSwift/NumSwiftC/NumSwiftC_Float16.swift:555:3: warning: 'public' modifier is redundant for static method declared in a public extension
553 | }
554 |
555 | public static func conv1d(signal: [Float16],
| `- warning: 'public' modifier is redundant for static method declared in a public extension
556 | filter: [Float16],
557 | strides: (Int, Int) = (1,1),
/Users/admin/builder/spi-builder-workspace/Sources/NumSwift/NumSwiftC/NumSwiftC_Float16.swift:580:3: warning: 'public' modifier is redundant for static method declared in a public extension
578 | }
579 |
580 | public static func transConv2d(signal: [[Float16]],
| `- warning: 'public' modifier is redundant for static method declared in a public extension
581 | filter: [[Float16]],
582 | strides: (Int, Int) = (1,1),
/Users/admin/builder/spi-builder-workspace/Sources/NumSwift/NumSwiftC/NumSwiftC_Float16.swift:632:3: warning: 'public' modifier is redundant for static method declared in a public extension
630 |
631 |
632 | public static func transConv1d(signal: [Float16],
| `- warning: 'public' modifier is redundant for static method declared in a public extension
633 | filter: [Float16],
634 | strides: (Int, Int) = (1,1),
/Users/admin/builder/spi-builder-workspace/Sources/NumSwift/NumSwiftC/NumSwiftC_Float16.swift:671:3: warning: 'public' modifier is redundant for static method declared in a public extension
669 | }
670 |
671 | public static func zeroPad(signal: [Float16],
| `- warning: 'public' modifier is redundant for static method declared in a public extension
672 | filterSize: (rows: Int, columns: Int),
673 | inputSize: (rows: Int, columns: Int),
[8/14] Compiling NumSwift Double.swift
[9/14] Compiling NumSwift NumSwiftCF16Base.swift
[10/14] Compiling NumSwift Float32.swift
/Users/admin/builder/spi-builder-workspace/Sources/NumSwift/Float32.swift:539:9: warning: initialization of immutable value 'left' was never used; consider replacing with assignment to '_' or removing it
537 |
538 | static func *(lhs: Self, rhs: Self) -> Self {
539 | let left = lhs
| `- warning: initialization of immutable value 'left' was never used; consider replacing with assignment to '_' or removing it
540 | let right = rhs
541 |
/Users/admin/builder/spi-builder-workspace/Sources/NumSwift/Float32.swift:540:9: warning: initialization of immutable value 'right' was never used; consider replacing with assignment to '_' or removing it
538 | static func *(lhs: Self, rhs: Self) -> Self {
539 | let left = lhs
540 | let right = rhs
| `- warning: initialization of immutable value 'right' was never used; consider replacing with assignment to '_' or removing it
541 |
542 | var result: Self = []
/Users/admin/builder/spi-builder-workspace/Sources/NumSwift/Float32.swift:552:9: warning: initialization of immutable value 'left' was never used; consider replacing with assignment to '_' or removing it
550 |
551 | static func /(lhs: Self, rhs: Self) -> Self {
552 | let left = lhs
| `- warning: initialization of immutable value 'left' was never used; consider replacing with assignment to '_' or removing it
553 | let right = rhs
554 |
/Users/admin/builder/spi-builder-workspace/Sources/NumSwift/Float32.swift:553:9: warning: initialization of immutable value 'right' was never used; consider replacing with assignment to '_' or removing it
551 | static func /(lhs: Self, rhs: Self) -> Self {
552 | let left = lhs
553 | let right = rhs
| `- warning: initialization of immutable value 'right' was never used; consider replacing with assignment to '_' or removing it
554 |
555 | var result: Self = []
/Users/admin/builder/spi-builder-workspace/Sources/NumSwift/Float32.swift:565:9: warning: initialization of immutable value 'left' was never used; consider replacing with assignment to '_' or removing it
563 |
564 | static func -(lhs: Self, rhs: Self) -> Self {
565 | let left = lhs
| `- warning: initialization of immutable value 'left' was never used; consider replacing with assignment to '_' or removing it
566 | let right = rhs
567 |
/Users/admin/builder/spi-builder-workspace/Sources/NumSwift/Float32.swift:566:9: warning: initialization of immutable value 'right' was never used; consider replacing with assignment to '_' or removing it
564 | static func -(lhs: Self, rhs: Self) -> Self {
565 | let left = lhs
566 | let right = rhs
| `- warning: initialization of immutable value 'right' was never used; consider replacing with assignment to '_' or removing it
567 |
568 | var result: Self = []
/Users/admin/builder/spi-builder-workspace/Sources/NumSwift/Float32.swift:578:9: warning: initialization of immutable value 'left' was never used; consider replacing with assignment to '_' or removing it
576 |
577 | static func +(lhs: Self, rhs: Self) -> Self {
578 | let left = lhs
| `- warning: initialization of immutable value 'left' was never used; consider replacing with assignment to '_' or removing it
579 | let right = rhs
580 |
/Users/admin/builder/spi-builder-workspace/Sources/NumSwift/Float32.swift:579:9: warning: initialization of immutable value 'right' was never used; consider replacing with assignment to '_' or removing it
577 | static func +(lhs: Self, rhs: Self) -> Self {
578 | let left = lhs
579 | let right = rhs
| `- warning: initialization of immutable value 'right' was never used; consider replacing with assignment to '_' or removing it
580 |
581 | var result: Self = []
[11/14] Compiling NumSwift NumSwiftC_Float16.swift
/Users/admin/builder/spi-builder-workspace/Sources/NumSwift/NumSwiftC/NumSwiftC_Float16.swift:14:3: warning: 'public' modifier is redundant for static method declared in a public extension
12 | public extension NumSwiftC {
13 |
14 | public static func add(_ a: [[Float16]], _ b: [[Float16]]) -> [[Float16]] {
| `- warning: 'public' modifier is redundant for static method declared in a public extension
15 | let shape = a.shape
16 | let rows = shape[safe: 1] ?? 0
/Users/admin/builder/spi-builder-workspace/Sources/NumSwift/NumSwiftC/NumSwiftC_Float16.swift:41:3: warning: 'public' modifier is redundant for static method declared in a public extension
39 | }
40 |
41 | public static func sub(_ a: [[Float16]], _ b: [[Float16]]) -> [[Float16]] {
| `- warning: 'public' modifier is redundant for static method declared in a public extension
42 | let shape = a.shape
43 | let rows = shape[safe: 1] ?? 0
/Users/admin/builder/spi-builder-workspace/Sources/NumSwift/NumSwiftC/NumSwiftC_Float16.swift:68:3: warning: 'public' modifier is redundant for static method declared in a public extension
66 | }
67 |
68 | public static func divide(_ a: [[Float16]], _ b: [[Float16]]) -> [[Float16]] {
| `- warning: 'public' modifier is redundant for static method declared in a public extension
69 | let shape = a.shape
70 | let rows = shape[safe: 1] ?? 0
/Users/admin/builder/spi-builder-workspace/Sources/NumSwift/NumSwiftC/NumSwiftC_Float16.swift:95:3: warning: 'public' modifier is redundant for static method declared in a public extension
93 | }
94 |
95 | public static func mult(_ a: [[Float16]], _ b: [[Float16]]) -> [[Float16]] {
| `- warning: 'public' modifier is redundant for static method declared in a public extension
96 | let shape = a.shape
97 | let rows = shape[safe: 1] ?? 0
/Users/admin/builder/spi-builder-workspace/Sources/NumSwift/NumSwiftC/NumSwiftC_Float16.swift:124:3: warning: 'public' modifier is redundant for static method declared in a public extension
122 | // MARK: - 2D Arithmetic with Scalar Operations
123 |
124 | public static func add(_ a: [[Float16]], scalar: Float16) -> [[Float16]] {
| `- warning: 'public' modifier is redundant for static method declared in a public extension
125 | let shape = a.shape
126 | let rows = shape[safe: 1] ?? 0
/Users/admin/builder/spi-builder-workspace/Sources/NumSwift/NumSwiftC/NumSwiftC_Float16.swift:148:3: warning: 'public' modifier is redundant for static method declared in a public extension
146 | }
147 |
148 | public static func add(_ a: [[Float16]], array: [Float16]) -> [[Float16]] {
| `- warning: 'public' modifier is redundant for static method declared in a public extension
149 | let shape = a.shape
150 | let rows = shape[safe: 1] ?? 0
/Users/admin/builder/spi-builder-workspace/Sources/NumSwift/NumSwiftC/NumSwiftC_Float16.swift:172:3: warning: 'public' modifier is redundant for static method declared in a public extension
170 | }
171 |
172 | public static func sub(_ a: [[Float16]], scalar: Float16) -> [[Float16]] {
| `- warning: 'public' modifier is redundant for static method declared in a public extension
173 | let shape = a.shape
174 | let rows = shape[safe: 1] ?? 0
/Users/admin/builder/spi-builder-workspace/Sources/NumSwift/NumSwiftC/NumSwiftC_Float16.swift:196:3: warning: 'public' modifier is redundant for static method declared in a public extension
194 | }
195 |
196 | public static func sub(_ a: [[Float16]], array: [Float16]) -> [[Float16]] {
| `- warning: 'public' modifier is redundant for static method declared in a public extension
197 | let shape = a.shape
198 | let rows = shape[safe: 1] ?? 0
/Users/admin/builder/spi-builder-workspace/Sources/NumSwift/NumSwiftC/NumSwiftC_Float16.swift:220:3: warning: 'public' modifier is redundant for static method declared in a public extension
218 | }
219 |
220 | public static func mult(_ a: [[Float16]], scalar: Float16) -> [[Float16]] {
| `- warning: 'public' modifier is redundant for static method declared in a public extension
221 | let shape = a.shape
222 | let rows = shape[safe: 1] ?? 0
/Users/admin/builder/spi-builder-workspace/Sources/NumSwift/NumSwiftC/NumSwiftC_Float16.swift:244:3: warning: 'public' modifier is redundant for static method declared in a public extension
242 | }
243 |
244 | public static func mult(_ a: [[Float16]], array: [Float16]) -> [[Float16]] {
| `- warning: 'public' modifier is redundant for static method declared in a public extension
245 | let shape = a.shape
246 | let rows = shape[safe: 1] ?? 0
/Users/admin/builder/spi-builder-workspace/Sources/NumSwift/NumSwiftC/NumSwiftC_Float16.swift:268:3: warning: 'public' modifier is redundant for static method declared in a public extension
266 | }
267 |
268 | public static func divide(_ a: [[Float16]], scalar: Float16) -> [[Float16]] {
| `- warning: 'public' modifier is redundant for static method declared in a public extension
269 | let shape = a.shape
270 | let rows = shape[safe: 1] ?? 0
/Users/admin/builder/spi-builder-workspace/Sources/NumSwift/NumSwiftC/NumSwiftC_Float16.swift:292:3: warning: 'public' modifier is redundant for static method declared in a public extension
290 | }
291 |
292 | public static func divide(_ a: [[Float16]], array: [Float16]) -> [[Float16]] {
| `- warning: 'public' modifier is redundant for static method declared in a public extension
293 | let shape = a.shape
294 | let rows = shape[safe: 1] ?? 0
/Users/admin/builder/spi-builder-workspace/Sources/NumSwift/NumSwiftC/NumSwiftC_Float16.swift:316:3: warning: 'public' modifier is redundant for static method declared in a public extension
314 | }
315 |
316 | public static func tranpose(_ a: [[Float16]], size: (rows: Int, columns: Int)) -> [[Float16]] {
| `- warning: 'public' modifier is redundant for static method declared in a public extension
317 | let result: [[Float16]] = NumSwift.zerosLike((rows: size.columns, columns: size.rows))
318 |
/Users/admin/builder/spi-builder-workspace/Sources/NumSwift/NumSwiftC/NumSwiftC_Float16.swift:335:3: warning: 'public' modifier is redundant for static method declared in a public extension
333 | }
334 |
335 | public static func matmul(_ a: [[Float16]],
| `- warning: 'public' modifier is redundant for static method declared in a public extension
336 | b: [[Float16]],
337 | aSize: (rows: Int, columns: Int),
/Users/admin/builder/spi-builder-workspace/Sources/NumSwift/NumSwiftC/NumSwiftC_Float16.swift:362:3: warning: 'public' modifier is redundant for static method declared in a public extension
360 | }
361 |
362 | public static func flatten(_ input: [[Float16]], inputSize: (rows: Int, columns: Int)? = nil) -> [Float16] {
| `- warning: 'public' modifier is redundant for static method declared in a public extension
363 |
364 | let shape = input.shape
/Users/admin/builder/spi-builder-workspace/Sources/NumSwift/NumSwiftC/NumSwiftC_Float16.swift:384:3: warning: 'public' modifier is redundant for static method declared in a public extension
382 | }
383 |
384 | public static func stridePad(signal: [[Float16]],
| `- warning: 'public' modifier is redundant for static method declared in a public extension
385 | strides: (rows: Int, columns: Int)) -> [[Float16]] {
386 |
/Users/admin/builder/spi-builder-workspace/Sources/NumSwift/NumSwiftC/NumSwiftC_Float16.swift:417:3: warning: 'public' modifier is redundant for static method declared in a public extension
415 | }
416 |
417 | public static func stridePad1D(signal: [Float16],
| `- warning: 'public' modifier is redundant for static method declared in a public extension
418 | strides: (rows: Int, columns: Int)) -> [Float16] {
419 |
/Users/admin/builder/spi-builder-workspace/Sources/NumSwift/NumSwiftC/NumSwiftC_Float16.swift:444:3: warning: 'public' modifier is redundant for static method declared in a public extension
442 | }
443 |
444 | public static func zeroPad(signal: [[Float16]],
| `- warning: 'public' modifier is redundant for static method declared in a public extension
445 | padding: NumSwiftPadding) -> [[Float16]] {
446 |
/Users/admin/builder/spi-builder-workspace/Sources/NumSwift/NumSwiftC/NumSwiftC_Float16.swift:479:3: warning: 'public' modifier is redundant for static method declared in a public extension
477 | }
478 |
479 | public static func zeroPad(signal: [[Float16]],
| `- warning: 'public' modifier is redundant for static method declared in a public extension
480 | filterSize: (rows: Int, columns: Int),
481 | inputSize: (rows: Int, columns: Int),
/Users/admin/builder/spi-builder-workspace/Sources/NumSwift/NumSwiftC/NumSwiftC_Float16.swift:521:3: warning: 'public' modifier is redundant for static method declared in a public extension
519 | }
520 |
521 | public static func conv2d(signal: [[Float16]],
| `- warning: 'public' modifier is redundant for static method declared in a public extension
522 | filter: [[Float16]],
523 | strides: (Int, Int) = (1,1),
/Users/admin/builder/spi-builder-workspace/Sources/NumSwift/NumSwiftC/NumSwiftC_Float16.swift:555:3: warning: 'public' modifier is redundant for static method declared in a public extension
553 | }
554 |
555 | public static func conv1d(signal: [Float16],
| `- warning: 'public' modifier is redundant for static method declared in a public extension
556 | filter: [Float16],
557 | strides: (Int, Int) = (1,1),
/Users/admin/builder/spi-builder-workspace/Sources/NumSwift/NumSwiftC/NumSwiftC_Float16.swift:580:3: warning: 'public' modifier is redundant for static method declared in a public extension
578 | }
579 |
580 | public static func transConv2d(signal: [[Float16]],
| `- warning: 'public' modifier is redundant for static method declared in a public extension
581 | filter: [[Float16]],
582 | strides: (Int, Int) = (1,1),
/Users/admin/builder/spi-builder-workspace/Sources/NumSwift/NumSwiftC/NumSwiftC_Float16.swift:632:3: warning: 'public' modifier is redundant for static method declared in a public extension
630 |
631 |
632 | public static func transConv1d(signal: [Float16],
| `- warning: 'public' modifier is redundant for static method declared in a public extension
633 | filter: [Float16],
634 | strides: (Int, Int) = (1,1),
/Users/admin/builder/spi-builder-workspace/Sources/NumSwift/NumSwiftC/NumSwiftC_Float16.swift:671:3: warning: 'public' modifier is redundant for static method declared in a public extension
669 | }
670 |
671 | public static func zeroPad(signal: [Float16],
| `- warning: 'public' modifier is redundant for static method declared in a public extension
672 | filterSize: (rows: Int, columns: Int),
673 | inputSize: (rows: Int, columns: Int),
/Users/admin/builder/spi-builder-workspace/Sources/NumSwift/NumSwiftC/NumSwiftC_Float16.swift:23:66: warning: initialization of 'UnsafeMutablePointer<Float16>' results in a dangling pointer
21 |
22 | results.withUnsafeBufferPointer { rBuff in
23 | var rPoint: [UnsafeMutablePointer<Float16>?] = rBuff.map { UnsafeMutablePointer(mutating: $0) }
| | |- note: implicit argument conversion from '[Float16]' to 'UnsafePointer<Float16>' produces a pointer valid only for the duration of the call to 'init(mutating:)'
| | `- note: use the 'withUnsafeBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
| `- warning: initialization of 'UnsafeMutablePointer<Float16>' results in a dangling pointer
24 |
25 | a.withUnsafeBufferPointer { aBuff in
/Users/admin/builder/spi-builder-workspace/Sources/NumSwift/NumSwiftC/NumSwiftC_Float16.swift:27:70: warning: initialization of 'UnsafeMutablePointer<Float16>' results in a dangling pointer
25 | a.withUnsafeBufferPointer { aBuff in
26 | b.withUnsafeBufferPointer { bBuff in
27 | let aPoint: [UnsafeMutablePointer<Float16>?] = aBuff.map { UnsafeMutablePointer(mutating: $0) }
| | |- note: implicit argument conversion from '[Float16]' to 'UnsafePointer<Float16>' produces a pointer valid only for the duration of the call to 'init(mutating:)'
| | `- note: use the 'withUnsafeBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
| `- warning: initialization of 'UnsafeMutablePointer<Float16>' results in a dangling pointer
28 | let bPoint: [UnsafeMutablePointer<Float16>?] = bBuff.map { UnsafeMutablePointer(mutating: $0) }
29 | nsc_add2d_f16(NSC_Size(rows: Int32(rows),
/Users/admin/builder/spi-builder-workspace/Sources/NumSwift/NumSwiftC/NumSwiftC_Float16.swift:28:70: warning: initialization of 'UnsafeMutablePointer<Float16>' results in a dangling pointer
26 | b.withUnsafeBufferPointer { bBuff in
27 | let aPoint: [UnsafeMutablePointer<Float16>?] = aBuff.map { UnsafeMutablePointer(mutating: $0) }
28 | let bPoint: [UnsafeMutablePointer<Float16>?] = bBuff.map { UnsafeMutablePointer(mutating: $0) }
| | |- note: implicit argument conversion from '[Float16]' to 'UnsafePointer<Float16>' produces a pointer valid only for the duration of the call to 'init(mutating:)'
| | `- note: use the 'withUnsafeBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
| `- warning: initialization of 'UnsafeMutablePointer<Float16>' results in a dangling pointer
29 | nsc_add2d_f16(NSC_Size(rows: Int32(rows),
30 | columns: Int32(columns)),
/Users/admin/builder/spi-builder-workspace/Sources/NumSwift/NumSwiftC/NumSwiftC_Float16.swift:50:66: warning: initialization of 'UnsafeMutablePointer<Float16>' results in a dangling pointer
48 |
49 | results.withUnsafeBufferPointer { rBuff in
50 | var rPoint: [UnsafeMutablePointer<Float16>?] = rBuff.map { UnsafeMutablePointer(mutating: $0) }
| | |- note: implicit argument conversion from '[Float16]' to 'UnsafePointer<Float16>' produces a pointer valid only for the duration of the call to 'init(mutating:)'
| | `- note: use the 'withUnsafeBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
| `- warning: initialization of 'UnsafeMutablePointer<Float16>' results in a dangling pointer
51 |
52 | a.withUnsafeBufferPointer { aBuff in
/Users/admin/builder/spi-builder-workspace/Sources/NumSwift/NumSwiftC/NumSwiftC_Float16.swift:54:70: warning: initialization of 'UnsafeMutablePointer<Float16>' results in a dangling pointer
52 | a.withUnsafeBufferPointer { aBuff in
53 | b.withUnsafeBufferPointer { bBuff in
54 | let aPoint: [UnsafeMutablePointer<Float16>?] = aBuff.map { UnsafeMutablePointer(mutating: $0) }
| | |- note: implicit argument conversion from '[Float16]' to 'UnsafePointer<Float16>' produces a pointer valid only for the duration of the call to 'init(mutating:)'
| | `- note: use the 'withUnsafeBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
| `- warning: initialization of 'UnsafeMutablePointer<Float16>' results in a dangling pointer
55 | let bPoint: [UnsafeMutablePointer<Float16>?] = bBuff.map { UnsafeMutablePointer(mutating: $0) }
56 | nsc_sub2d_f16(NSC_Size(rows: Int32(rows),
/Users/admin/builder/spi-builder-workspace/Sources/NumSwift/NumSwiftC/NumSwiftC_Float16.swift:55:70: warning: initialization of 'UnsafeMutablePointer<Float16>' results in a dangling pointer
53 | b.withUnsafeBufferPointer { bBuff in
54 | let aPoint: [UnsafeMutablePointer<Float16>?] = aBuff.map { UnsafeMutablePointer(mutating: $0) }
55 | let bPoint: [UnsafeMutablePointer<Float16>?] = bBuff.map { UnsafeMutablePointer(mutating: $0) }
| | |- note: implicit argument conversion from '[Float16]' to 'UnsafePointer<Float16>' produces a pointer valid only for the duration of the call to 'init(mutating:)'
| | `- note: use the 'withUnsafeBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
| `- warning: initialization of 'UnsafeMutablePointer<Float16>' results in a dangling pointer
56 | nsc_sub2d_f16(NSC_Size(rows: Int32(rows),
57 | columns: Int32(columns)),
/Users/admin/builder/spi-builder-workspace/Sources/NumSwift/NumSwiftC/NumSwiftC_Float16.swift:77:66: warning: initialization of 'UnsafeMutablePointer<Float16>' results in a dangling pointer
75 |
76 | results.withUnsafeBufferPointer { rBuff in
77 | var rPoint: [UnsafeMutablePointer<Float16>?] = rBuff.map { UnsafeMutablePointer(mutating: $0) }
| | |- note: implicit argument conversion from '[Float16]' to 'UnsafePointer<Float16>' produces a pointer valid only for the duration of the call to 'init(mutating:)'
| | `- note: use the 'withUnsafeBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
| `- warning: initialization of 'UnsafeMutablePointer<Float16>' results in a dangling pointer
78 |
79 | a.withUnsafeBufferPointer { aBuff in
/Users/admin/builder/spi-builder-workspace/Sources/NumSwift/NumSwiftC/NumSwiftC_Float16.swift:81:70: warning: initialization of 'UnsafeMutablePointer<Float16>' results in a dangling pointer
79 | a.withUnsafeBufferPointer { aBuff in
80 | b.withUnsafeBufferPointer { bBuff in
81 | let aPoint: [UnsafeMutablePointer<Float16>?] = aBuff.map { UnsafeMutablePointer(mutating: $0) }
| | |- note: implicit argument conversion from '[Float16]' to 'UnsafePointer<Float16>' produces a pointer valid only for the duration of the call to 'init(mutating:)'
| | `- note: use the 'withUnsafeBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
| `- warning: initialization of 'UnsafeMutablePointer<Float16>' results in a dangling pointer
82 | let bPoint: [UnsafeMutablePointer<Float16>?] = bBuff.map { UnsafeMutablePointer(mutating: $0) }
83 | nsc_divide2d_f16(NSC_Size(rows: Int32(rows),
/Users/admin/builder/spi-builder-workspace/Sources/NumSwift/NumSwiftC/NumSwiftC_Float16.swift:82:70: warning: initialization of 'UnsafeMutablePointer<Float16>' results in a dangling pointer
80 | b.withUnsafeBufferPointer { bBuff in
81 | let aPoint: [UnsafeMutablePointer<Float16>?] = aBuff.map { UnsafeMutablePointer(mutating: $0) }
82 | let bPoint: [UnsafeMutablePointer<Float16>?] = bBuff.map { UnsafeMutablePointer(mutating: $0) }
| | |- note: implicit argument conversion from '[Float16]' to 'UnsafePointer<Float16>' produces a pointer valid only for the duration of the call to 'init(mutating:)'
| | `- note: use the 'withUnsafeBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
| `- warning: initialization of 'UnsafeMutablePointer<Float16>' results in a dangling pointer
83 | nsc_divide2d_f16(NSC_Size(rows: Int32(rows),
84 | columns: Int32(columns)),
/Users/admin/builder/spi-builder-workspace/Sources/NumSwift/NumSwiftC/NumSwiftC_Float16.swift:104:66: warning: initialization of 'UnsafeMutablePointer<Float16>' results in a dangling pointer
102 |
103 | results.withUnsafeBufferPointer { rBuff in
104 | var rPoint: [UnsafeMutablePointer<Float16>?] = rBuff.map { UnsafeMutablePointer(mutating: $0) }
| | |- note: implicit argument conversion from '[Float16]' to 'UnsafePointer<Float16>' produces a pointer valid only for the duration of the call to 'init(mutating:)'
| | `- note: use the 'withUnsafeBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
| `- warning: initialization of 'UnsafeMutablePointer<Float16>' results in a dangling pointer
105 |
106 | a.withUnsafeBufferPointer { aBuff in
/Users/admin/builder/spi-builder-workspace/Sources/NumSwift/NumSwiftC/NumSwiftC_Float16.swift:108:70: warning: initialization of 'UnsafeMutablePointer<Float16>' results in a dangling pointer
106 | a.withUnsafeBufferPointer { aBuff in
107 | b.withUnsafeBufferPointer { bBuff in
108 | let aPoint: [UnsafeMutablePointer<Float16>?] = aBuff.map { UnsafeMutablePointer(mutating: $0) }
| | |- note: implicit argument conversion from '[Float16]' to 'UnsafePointer<Float16>' produces a pointer valid only for the duration of the call to 'init(mutating:)'
| | `- note: use the 'withUnsafeBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
| `- warning: initialization of 'UnsafeMutablePointer<Float16>' results in a dangling pointer
109 | let bPoint: [UnsafeMutablePointer<Float16>?] = bBuff.map { UnsafeMutablePointer(mutating: $0) }
110 | nsc_mult2d_f16(NSC_Size(rows: Int32(rows),
/Users/admin/builder/spi-builder-workspace/Sources/NumSwift/NumSwiftC/NumSwiftC_Float16.swift:109:70: warning: initialization of 'UnsafeMutablePointer<Float16>' results in a dangling pointer
107 | b.withUnsafeBufferPointer { bBuff in
108 | let aPoint: [UnsafeMutablePointer<Float16>?] = aBuff.map { UnsafeMutablePointer(mutating: $0) }
109 | let bPoint: [UnsafeMutablePointer<Float16>?] = bBuff.map { UnsafeMutablePointer(mutating: $0) }
| | |- note: implicit argument conversion from '[Float16]' to 'UnsafePointer<Float16>' produces a pointer valid only for the duration of the call to 'init(mutating:)'
| | `- note: use the 'withUnsafeBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
| `- warning: initialization of 'UnsafeMutablePointer<Float16>' results in a dangling pointer
110 | nsc_mult2d_f16(NSC_Size(rows: Int32(rows),
111 | columns: Int32(columns)),
/Users/admin/builder/spi-builder-workspace/Sources/NumSwift/NumSwiftC/NumSwiftC_Float16.swift:133:66: warning: initialization of 'UnsafeMutablePointer<Float16>' results in a dangling pointer
131 |
132 | results.withUnsafeBufferPointer { rBuff in
133 | var rPoint: [UnsafeMutablePointer<Float16>?] = rBuff.map { UnsafeMutablePointer(mutating: $0) }
| | |- note: implicit argument conversion from '[Float16]' to 'UnsafePointer<Float16>' produces a pointer valid only for the duration of the call to 'init(mutating:)'
| | `- note: use the 'withUnsafeBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
| `- warning: initialization of 'UnsafeMutablePointer<Float16>' results in a dangling pointer
134 |
135 | a.withUnsafeBufferPointer { aBuff in
/Users/admin/builder/spi-builder-workspace/Sources/NumSwift/NumSwiftC/NumSwiftC_Float16.swift:136:68: warning: initialization of 'UnsafeMutablePointer<Float16>' results in a dangling pointer
134 |
135 | a.withUnsafeBufferPointer { aBuff in
136 | let aPoint: [UnsafeMutablePointer<Float16>?] = aBuff.map { UnsafeMutablePointer(mutating: $0) }
| | |- note: implicit argument conversion from '[Float16]' to 'UnsafePointer<Float16>' produces a pointer valid only for the duration of the call to 'init(mutating:)'
| | `- note: use the 'withUnsafeBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
| `- warning: initialization of 'UnsafeMutablePointer<Float16>' results in a dangling pointer
137 | nsc_add2d_scalar_f16(NSC_Size(rows: Int32(rows),
138 | columns: Int32(columns)),
/Users/admin/builder/spi-builder-workspace/Sources/NumSwift/NumSwiftC/NumSwiftC_Float16.swift:157:66: warning: initialization of 'UnsafeMutablePointer<Float16>' results in a dangling pointer
155 |
156 | results.withUnsafeBufferPointer { rBuff in
157 | var rPoint: [UnsafeMutablePointer<Float16>?] = rBuff.map { UnsafeMutablePointer(mutating: $0) }
| | |- note: implicit argument conversion from '[Float16]' to 'UnsafePointer<Float16>' produces a pointer valid only for the duration of the call to 'init(mutating:)'
| | `- note: use the 'withUnsafeBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
| `- warning: initialization of 'UnsafeMutablePointer<Float16>' results in a dangling pointer
158 |
159 | a.withUnsafeBufferPointer { aBuff in
/Users/admin/builder/spi-builder-workspace/Sources/NumSwift/NumSwiftC/NumSwiftC_Float16.swift:160:68: warning: initialization of 'UnsafeMutablePointer<Float16>' results in a dangling pointer
158 |
159 | a.withUnsafeBufferPointer { aBuff in
160 | let aPoint: [UnsafeMutablePointer<Float16>?] = aBuff.map { UnsafeMutablePointer(mutating: $0) }
| | |- note: implicit argument conversion from '[Float16]' to 'UnsafePointer<Float16>' produces a pointer valid only for the duration of the call to 'init(mutating:)'
| | `- note: use the 'withUnsafeBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
| `- warning: initialization of 'UnsafeMutablePointer<Float16>' results in a dangling pointer
161 | nsc_add2d_array_scalar_f16(NSC_Size(rows: Int32(rows),
162 | columns: Int32(columns)),
/Users/admin/builder/spi-builder-workspace/Sources/NumSwift/NumSwiftC/NumSwiftC_Float16.swift:181:66: warning: initialization of 'UnsafeMutablePointer<Float16>' results in a dangling pointer
179 |
180 | results.withUnsafeBufferPointer { rBuff in
181 | var rPoint: [UnsafeMutablePointer<Float16>?] = rBuff.map { UnsafeMutablePointer(mutating: $0) }
| | |- note: implicit argument conversion from '[Float16]' to 'UnsafePointer<Float16>' produces a pointer valid only for the duration of the call to 'init(mutating:)'
| | `- note: use the 'withUnsafeBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
| `- warning: initialization of 'UnsafeMutablePointer<Float16>' results in a dangling pointer
182 |
183 | a.withUnsafeBufferPointer { aBuff in
/Users/admin/builder/spi-builder-workspace/Sources/NumSwift/NumSwiftC/NumSwiftC_Float16.swift:184:68: warning: initialization of 'UnsafeMutablePointer<Float16>' results in a dangling pointer
182 |
183 | a.withUnsafeBufferPointer { aBuff in
184 | let aPoint: [UnsafeMutablePointer<Float16>?] = aBuff.map { UnsafeMutablePointer(mutating: $0) }
| | |- note: implicit argument conversion from '[Float16]' to 'UnsafePointer<Float16>' produces a pointer valid only for the duration of the call to 'init(mutating:)'
| | `- note: use the 'withUnsafeBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
| `- warning: initialization of 'UnsafeMutablePointer<Float16>' results in a dangling pointer
185 | nsc_sub2d_scalar_f16(NSC_Size(rows: Int32(rows),
186 | columns: Int32(columns)),
/Users/admin/builder/spi-builder-workspace/Sources/NumSwift/NumSwiftC/NumSwiftC_Float16.swift:205:66: warning: initialization of 'UnsafeMutablePointer<Float16>' results in a dangling pointer
203 |
204 | results.withUnsafeBufferPointer { rBuff in
205 | var rPoint: [UnsafeMutablePointer<Float16>?] = rBuff.map { UnsafeMutablePointer(mutating: $0) }
| | |- note: implicit argument conversion from '[Float16]' to 'UnsafePointer<Float16>' produces a pointer valid only for the duration of the call to 'init(mutating:)'
| | `- note: use the 'withUnsafeBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
| `- warning: initialization of 'UnsafeMutablePointer<Float16>' results in a dangling pointer
206 |
207 | a.withUnsafeBufferPointer { aBuff in
/Users/admin/builder/spi-builder-workspace/Sources/NumSwift/NumSwiftC/NumSwiftC_Float16.swift:208:68: warning: initialization of 'UnsafeMutablePointer<Float16>' results in a dangling pointer
206 |
207 | a.withUnsafeBufferPointer { aBuff in
208 | let aPoint: [UnsafeMutablePointer<Float16>?] = aBuff.map { UnsafeMutablePointer(mutating: $0) }
| | |- note: implicit argument conversion from '[Float16]' to 'UnsafePointer<Float16>' produces a pointer valid only for the duration of the call to 'init(mutating:)'
| | `- note: use the 'withUnsafeBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
| `- warning: initialization of 'UnsafeMutablePointer<Float16>' results in a dangling pointer
209 | nsc_sub2d_array_scalar_f16(NSC_Size(rows: Int32(rows),
210 | columns: Int32(columns)),
/Users/admin/builder/spi-builder-workspace/Sources/NumSwift/NumSwiftC/NumSwiftC_Float16.swift:229:66: warning: initialization of 'UnsafeMutablePointer<Float16>' results in a dangling pointer
227 |
228 | results.withUnsafeBufferPointer { rBuff in
229 | var rPoint: [UnsafeMutablePointer<Float16>?] = rBuff.map { UnsafeMutablePointer(mutating: $0) }
| | |- note: implicit argument conversion from '[Float16]' to 'UnsafePointer<Float16>' produces a pointer valid only for the duration of the call to 'init(mutating:)'
| | `- note: use the 'withUnsafeBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
| `- warning: initialization of 'UnsafeMutablePointer<Float16>' results in a dangling pointer
230 |
231 | a.withUnsafeBufferPointer { aBuff in
/Users/admin/builder/spi-builder-workspace/Sources/NumSwift/NumSwiftC/NumSwiftC_Float16.swift:232:68: warning: initialization of 'UnsafeMutablePointer<Float16>' results in a dangling pointer
230 |
231 | a.withUnsafeBufferPointer { aBuff in
232 | let aPoint: [UnsafeMutablePointer<Float16>?] = aBuff.map { UnsafeMutablePointer(mutating: $0) }
| | |- note: implicit argument conversion from '[Float16]' to 'UnsafePointer<Float16>' produces a pointer valid only for the duration of the call to 'init(mutating:)'
| | `- note: use the 'withUnsafeBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
| `- warning: initialization of 'UnsafeMutablePointer<Float16>' results in a dangling pointer
233 | nsc_mult2d_scalar_f16(NSC_Size(rows: Int32(rows),
234 | columns: Int32(columns)),
/Users/admin/builder/spi-builder-workspace/Sources/NumSwift/NumSwiftC/NumSwiftC_Float16.swift:253:66: warning: initialization of 'UnsafeMutablePointer<Float16>' results in a dangling pointer
251 |
252 | results.withUnsafeBufferPointer { rBuff in
253 | var rPoint: [UnsafeMutablePointer<Float16>?] = rBuff.map { UnsafeMutablePointer(mutating: $0) }
| | |- note: implicit argument conversion from '[Float16]' to 'UnsafePointer<Float16>' produces a pointer valid only for the duration of the call to 'init(mutating:)'
| | `- note: use the 'withUnsafeBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
| `- warning: initialization of 'UnsafeMutablePointer<Float16>' results in a dangling pointer
254 |
255 | a.withUnsafeBufferPointer { aBuff in
/Users/admin/builder/spi-builder-workspace/Sources/NumSwift/NumSwiftC/NumSwiftC_Float16.swift:256:68: warning: initialization of 'UnsafeMutablePointer<Float16>' results in a dangling pointer
254 |
255 | a.withUnsafeBufferPointer { aBuff in
256 | let aPoint: [UnsafeMutablePointer<Float16>?] = aBuff.map { UnsafeMutablePointer(mutating: $0) }
| | |- note: implicit argument conversion from '[Float16]' to 'UnsafePointer<Float16>' produces a pointer valid only for the duration of the call to 'init(mutating:)'
| | `- note: use the 'withUnsafeBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
| `- warning: initialization of 'UnsafeMutablePointer<Float16>' results in a dangling pointer
257 | nsc_mult2d_array_scalar_f16(NSC_Size(rows: Int32(rows),
258 | columns: Int32(columns)),
/Users/admin/builder/spi-builder-workspace/Sources/NumSwift/NumSwiftC/NumSwiftC_Float16.swift:277:66: warning: initialization of 'UnsafeMutablePointer<Float16>' results in a dangling pointer
275 |
276 | results.withUnsafeBufferPointer { rBuff in
277 | var rPoint: [UnsafeMutablePointer<Float16>?] = rBuff.map { UnsafeMutablePointer(mutating: $0) }
| | |- note: implicit argument conversion from '[Float16]' to 'UnsafePointer<Float16>' produces a pointer valid only for the duration of the call to 'init(mutating:)'
| | `- note: use the 'withUnsafeBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
| `- warning: initialization of 'UnsafeMutablePointer<Float16>' results in a dangling pointer
278 |
279 | a.withUnsafeBufferPointer { aBuff in
/Users/admin/builder/spi-builder-workspace/Sources/NumSwift/NumSwiftC/NumSwiftC_Float16.swift:280:68: warning: initialization of 'UnsafeMutablePointer<Float16>' results in a dangling pointer
278 |
279 | a.withUnsafeBufferPointer { aBuff in
280 | let aPoint: [UnsafeMutablePointer<Float16>?] = aBuff.map { UnsafeMutablePointer(mutating: $0) }
| | |- note: implicit argument conversion from '[Float16]' to 'UnsafePointer<Float16>' produces a pointer valid only for the duration of the call to 'init(mutating:)'
| | `- note: use the 'withUnsafeBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
| `- warning: initialization of 'UnsafeMutablePointer<Float16>' results in a dangling pointer
281 | nsc_divide2d_scalar_f16(NSC_Size(rows: Int32(rows),
282 | columns: Int32(columns)),
/Users/admin/builder/spi-builder-workspace/Sources/NumSwift/NumSwiftC/NumSwiftC_Float16.swift:301:66: warning: initialization of 'UnsafeMutablePointer<Float16>' results in a dangling pointer
299 |
300 | results.withUnsafeBufferPointer { rBuff in
301 | var rPoint: [UnsafeMutablePointer<Float16>?] = rBuff.map { UnsafeMutablePointer(mutating: $0) }
| | |- note: implicit argument conversion from '[Float16]' to 'UnsafePointer<Float16>' produces a pointer valid only for the duration of the call to 'init(mutating:)'
| | `- note: use the 'withUnsafeBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
| `- warning: initialization of 'UnsafeMutablePointer<Float16>' results in a dangling pointer
302 |
303 | a.withUnsafeBufferPointer { aBuff in
/Users/admin/builder/spi-builder-workspace/Sources/NumSwift/NumSwiftC/NumSwiftC_Float16.swift:304:68: warning: initialization of 'UnsafeMutablePointer<Float16>' results in a dangling pointer
302 |
303 | a.withUnsafeBufferPointer { aBuff in
304 | let aPoint: [UnsafeMutablePointer<Float16>?] = aBuff.map { UnsafeMutablePointer(mutating: $0) }
| | |- note: implicit argument conversion from '[Float16]' to 'UnsafePointer<Float16>' produces a pointer valid only for the duration of the call to 'init(mutating:)'
| | `- note: use the 'withUnsafeBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
| `- warning: initialization of 'UnsafeMutablePointer<Float16>' results in a dangling pointer
305 | nsc_divide2d_array_scalar_f16(NSC_Size(rows: Int32(rows),
306 | columns: Int32(columns)),
/Users/admin/builder/spi-builder-workspace/Sources/NumSwift/NumSwiftC/NumSwiftC_Float16.swift:320:66: warning: initialization of 'UnsafeMutablePointer<Float16>' results in a dangling pointer
318 |
319 | result.withUnsafeBufferPointer { rBuff in
320 | var rPoint: [UnsafeMutablePointer<Float16>?] = rBuff.map { UnsafeMutablePointer(mutating: $0) }
| | |- note: implicit argument conversion from '[Float16]' to 'UnsafePointer<Float16>' produces a pointer valid only for the duration of the call to 'init(mutating:)'
| | `- note: use the 'withUnsafeBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
| `- warning: initialization of 'UnsafeMutablePointer<Float16>' results in a dangling pointer
321 |
322 | a.withUnsafeBufferPointer { aBuff in
/Users/admin/builder/spi-builder-workspace/Sources/NumSwift/NumSwiftC/NumSwiftC_Float16.swift:323:68: warning: initialization of 'UnsafeMutablePointer<Float16>' results in a dangling pointer
321 |
322 | a.withUnsafeBufferPointer { aBuff in
323 | let aPoint: [UnsafeMutablePointer<Float16>?] = aBuff.map { UnsafeMutablePointer(mutating: $0) }
| | |- note: implicit argument conversion from '[Float16]' to 'UnsafePointer<Float16>' produces a pointer valid only for the duration of the call to 'init(mutating:)'
| | `- note: use the 'withUnsafeBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
| `- warning: initialization of 'UnsafeMutablePointer<Float16>' results in a dangling pointer
324 | nsc_transpose_2d_16(aPoint,
325 | &rPoint,
/Users/admin/builder/spi-builder-workspace/Sources/NumSwift/NumSwiftC/NumSwiftC_Float16.swift:344:66: warning: initialization of 'UnsafeMutablePointer<Float16>' results in a dangling pointer
342 |
343 | results.withUnsafeBufferPointer { rBuff in
344 | var rPoint: [UnsafeMutablePointer<Float16>?] = rBuff.map { UnsafeMutablePointer(mutating: $0) }
| | |- note: implicit argument conversion from '[Float16]' to 'UnsafePointer<Float16>' produces a pointer valid only for the duration of the call to 'init(mutating:)'
| | `- note: use the 'withUnsafeBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
| `- warning: initialization of 'UnsafeMutablePointer<Float16>' results in a dangling pointer
345 |
346 | a.withUnsafeBufferPointer { aBuff in
/Users/admin/builder/spi-builder-workspace/Sources/NumSwift/NumSwiftC/NumSwiftC_Float16.swift:348:70: warning: initialization of 'UnsafeMutablePointer<Float16>' results in a dangling pointer
346 | a.withUnsafeBufferPointer { aBuff in
347 | b.withUnsafeBufferPointer { bBuff in
348 | let aPoint: [UnsafeMutablePointer<Float16>?] = aBuff.map { UnsafeMutablePointer(mutating: $0) }
| | |- note: implicit argument conversion from '[Float16]' to 'UnsafePointer<Float16>' produces a pointer valid only for the duration of the call to 'init(mutating:)'
| | `- note: use the 'withUnsafeBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
| `- warning: initialization of 'UnsafeMutablePointer<Float16>' results in a dangling pointer
349 | let bPoint: [UnsafeMutablePointer<Float16>?] = bBuff.map { UnsafeMutablePointer(mutating: $0) }
350 | nsc_matmul_16(NSC_Size(rows: Int32(aSize.rows), columns: Int32(aSize.columns)),
/Users/admin/builder/spi-builder-workspace/Sources/NumSwift/NumSwiftC/NumSwiftC_Float16.swift:349:70: warning: initialization of 'UnsafeMutablePointer<Float16>' results in a dangling pointer
347 | b.withUnsafeBufferPointer { bBuff in
348 | let aPoint: [UnsafeMutablePointer<Float16>?] = aBuff.map { UnsafeMutablePointer(mutating: $0) }
349 | let bPoint: [UnsafeMutablePointer<Float16>?] = bBuff.map { UnsafeMutablePointer(mutating: $0) }
| | |- note: implicit argument conversion from '[Float16]' to 'UnsafePointer<Float16>' produces a pointer valid only for the duration of the call to 'init(mutating:)'
| | `- note: use the 'withUnsafeBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
| `- warning: initialization of 'UnsafeMutablePointer<Float16>' results in a dangling pointer
350 | nsc_matmul_16(NSC_Size(rows: Int32(aSize.rows), columns: Int32(aSize.columns)),
351 | NSC_Size(rows: Int32(bSize.rows), columns: Int32(bSize.columns)),
/Users/admin/builder/spi-builder-workspace/Sources/NumSwift/NumSwiftC/NumSwiftC_Float16.swift:376:73: warning: initialization of 'UnsafeMutablePointer<Float16>' results in a dangling pointer
374 |
375 | input.withUnsafeBufferPointer { (inputsBuffer) in
376 | let inPuts: [UnsafeMutablePointer<Float16>?] = inputsBuffer.map { UnsafeMutablePointer(mutating: $0) }
| | |- note: implicit argument conversion from '[Float16]' to 'UnsafePointer<Float16>' produces a pointer valid only for the duration of the call to 'init(mutating:)'
| | `- note: use the 'withUnsafeBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
| `- warning: initialization of 'UnsafeMutablePointer<Float16>' results in a dangling pointer
377 |
378 | nsc_flatten2d_16(NSC_Size(rows: Int32(rows), columns: Int32(columns)), inPuts, &results)
/Users/admin/builder/spi-builder-workspace/Sources/NumSwift/NumSwiftC/NumSwiftC_Float16.swift:402:68: warning: initialization of 'UnsafeMutablePointer<Float16>' results in a dangling pointer
400 | results.withUnsafeBufferPointer { rBuff in
401 | signal.withUnsafeBufferPointer { sBuff in
402 | var rPoint: [UnsafeMutablePointer<Float16>?] = rBuff.map { UnsafeMutablePointer(mutating: $0) }
| | |- note: implicit argument conversion from '[Float16]' to 'UnsafePointer<Float16>' produces a pointer valid only for the duration of the call to 'init(mutating:)'
| | `- note: use the 'withUnsafeBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
| `- warning: initialization of 'UnsafeMutablePointer<Float16>' results in a dangling pointer
403 | let sPoint: [UnsafeMutablePointer<Float16>?] = sBuff.map { UnsafeMutablePointer(mutating: $0) }
404 | nsc_stride_pad_2D_f16(sPoint,
/Users/admin/builder/spi-builder-workspace/Sources/NumSwift/NumSwiftC/NumSwiftC_Float16.swift:403:68: warning: initialization of 'UnsafeMutablePointer<Float16>' results in a dangling pointer
401 | signal.withUnsafeBufferPointer { sBuff in
402 | var rPoint: [UnsafeMutablePointer<Float16>?] = rBuff.map { UnsafeMutablePointer(mutating: $0) }
403 | let sPoint: [UnsafeMutablePointer<Float16>?] = sBuff.map { UnsafeMutablePointer(mutating: $0) }
| | |- note: implicit argument conversion from '[Float16]' to 'UnsafePointer<Float16>' produces a pointer valid only for the duration of the call to 'init(mutating:)'
| | `- note: use the 'withUnsafeBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
| `- warning: initialization of 'UnsafeMutablePointer<Float16>' results in a dangling pointer
404 | nsc_stride_pad_2D_f16(sPoint,
405 | &rPoint,
/Users/admin/builder/spi-builder-workspace/Sources/NumSwift/NumSwiftC/NumSwiftC_Float16.swift:398:9: warning: variable 'results' was never mutated; consider changing to 'let' constant
396 | let newColumns = columns + ((strides.columns - 1) * (columns - 1))
397 |
398 | var results: [[Float16]] = NumSwift.zerosLike((rows: newRows, columns: newColumns))
| `- warning: variable 'results' was never mutated; consider changing to 'let' constant
399 |
400 | results.withUnsafeBufferPointer { rBuff in
/Users/admin/builder/spi-builder-workspace/Sources/NumSwift/NumSwiftC/NumSwiftC_Float16.swift:462:68: warning: initialization of 'UnsafeMutablePointer<Float16>' results in a dangling pointer
460 | results.withUnsafeBufferPointer { rBuff in
461 | signal.withUnsafeBufferPointer { sBuff in
462 | var rPoint: [UnsafeMutablePointer<Float16>?] = rBuff.map { UnsafeMutablePointer(mutating: $0) }
| | |- note: implicit argument conversion from '[Float16]' to 'UnsafePointer<Float16>' produces a pointer valid only for the duration of the call to 'init(mutating:)'
| | `- note: use the 'withUnsafeBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
| `- warning: initialization of 'UnsafeMutablePointer<Float16>' results in a dangling pointer
463 | let sPoint: [UnsafeMutablePointer<Float16>?] = sBuff.map { UnsafeMutablePointer(mutating: $0) }
464 |
/Users/admin/builder/spi-builder-workspace/Sources/NumSwift/NumSwiftC/NumSwiftC_Float16.swift:463:68: warning: initialization of 'UnsafeMutablePointer<Float16>' results in a dangling pointer
461 | signal.withUnsafeBufferPointer { sBuff in
462 | var rPoint: [UnsafeMutablePointer<Float16>?] = rBuff.map { UnsafeMutablePointer(mutating: $0) }
463 | let sPoint: [UnsafeMutablePointer<Float16>?] = sBuff.map { UnsafeMutablePointer(mutating: $0) }
| | |- note: implicit argument conversion from '[Float16]' to 'UnsafePointer<Float16>' produces a pointer valid only for the duration of the call to 'init(mutating:)'
| | `- note: use the 'withUnsafeBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
| `- warning: initialization of 'UnsafeMutablePointer<Float16>' results in a dangling pointer
464 |
465 | nsc_specific_zero_pad_2d_f16(sPoint,
/Users/admin/builder/spi-builder-workspace/Sources/NumSwift/NumSwiftC/NumSwiftC_Float16.swift:504:68: warning: initialization of 'UnsafeMutablePointer<Float16>' results in a dangling pointer
502 | results.withUnsafeBufferPointer { rBuff in
503 | signal.withUnsafeBufferPointer { sBuff in
504 | var rPoint: [UnsafeMutablePointer<Float16>?] = rBuff.map { UnsafeMutablePointer(mutating: $0) }
| | |- note: implicit argument conversion from '[Float16]' to 'UnsafePointer<Float16>' produces a pointer valid only for the duration of the call to 'init(mutating:)'
| | `- note: use the 'withUnsafeBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
| `- warning: initialization of 'UnsafeMutablePointer<Float16>' results in a dangling pointer
505 | let sPoint: [UnsafeMutablePointer<Float16>?] = sBuff.map { UnsafeMutablePointer(mutating: $0) }
506 |
/Users/admin/builder/spi-builder-workspace/Sources/NumSwift/NumSwiftC/NumSwiftC_Float16.swift:505:68: warning: initialization of 'UnsafeMutablePointer<Float16>' results in a dangling pointer
503 | signal.withUnsafeBufferPointer { sBuff in
504 | var rPoint: [UnsafeMutablePointer<Float16>?] = rBuff.map { UnsafeMutablePointer(mutating: $0) }
505 | let sPoint: [UnsafeMutablePointer<Float16>?] = sBuff.map { UnsafeMutablePointer(mutating: $0) }
| | |- note: implicit argument conversion from '[Float16]' to 'UnsafePointer<Float16>' produces a pointer valid only for the duration of the call to 'init(mutating:)'
| | `- note: use the 'withUnsafeBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
| `- warning: initialization of 'UnsafeMutablePointer<Float16>' results in a dangling pointer
506 |
507 | nsc_specific_zero_pad_2d_f16(sPoint,
/Users/admin/builder/spi-builder-workspace/Sources/NumSwift/NumSwiftC/NumSwiftC_Float16.swift:538:70: warning: initialization of 'UnsafeMutablePointer<Float16>' results in a dangling pointer
536 | signal.withUnsafeBufferPointer { sBuff in
537 | filter.withUnsafeBufferPointer { fBuff in
538 | var rPoint: [UnsafeMutablePointer<Float16>?] = rBuff.map { UnsafeMutablePointer(mutating: $0) }
| | |- note: implicit argument conversion from '[Float16]' to 'UnsafePointer<Float16>' produces a pointer valid only for the duration of the call to 'init(mutating:)'
| | `- note: use the 'withUnsafeBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
| `- warning: initialization of 'UnsafeMutablePointer<Float16>' results in a dangling pointer
539 | var sPoint: [UnsafeMutablePointer<Float16>?] = sBuff.map { UnsafeMutablePointer(mutating: $0) }
540 | var fPoint: [UnsafeMutablePointer<Float16>?] = fBuff.map { UnsafeMutablePointer(mutating: $0) }
/Users/admin/builder/spi-builder-workspace/Sources/NumSwift/NumSwiftC/NumSwiftC_Float16.swift:539:70: warning: initialization of 'UnsafeMutablePointer<Float16>' results in a dangling pointer
537 | filter.withUnsafeBufferPointer { fBuff in
538 | var rPoint: [UnsafeMutablePointer<Float16>?] = rBuff.map { UnsafeMutablePointer(mutating: $0) }
539 | var sPoint: [UnsafeMutablePointer<Float16>?] = sBuff.map { UnsafeMutablePointer(mutating: $0) }
| | |- note: implicit argument conversion from '[Float16]' to 'UnsafePointer<Float16>' produces a pointer valid only for the duration of the call to 'init(mutating:)'
| | `- note: use the 'withUnsafeBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
| `- warning: initialization of 'UnsafeMutablePointer<Float16>' results in a dangling pointer
540 | var fPoint: [UnsafeMutablePointer<Float16>?] = fBuff.map { UnsafeMutablePointer(mutating: $0) }
541 | nsc_conv2d_f16(sPoint,
/Users/admin/builder/spi-builder-workspace/Sources/NumSwift/NumSwiftC/NumSwiftC_Float16.swift:540:70: warning: initialization of 'UnsafeMutablePointer<Float16>' results in a dangling pointer
538 | var rPoint: [UnsafeMutablePointer<Float16>?] = rBuff.map { UnsafeMutablePointer(mutating: $0) }
539 | var sPoint: [UnsafeMutablePointer<Float16>?] = sBuff.map { UnsafeMutablePointer(mutating: $0) }
540 | var fPoint: [UnsafeMutablePointer<Float16>?] = fBuff.map { UnsafeMutablePointer(mutating: $0) }
| | |- note: implicit argument conversion from '[Float16]' to 'UnsafePointer<Float16>' produces a pointer valid only for the duration of the call to 'init(mutating:)'
| | `- note: use the 'withUnsafeBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
| `- warning: initialization of 'UnsafeMutablePointer<Float16>' results in a dangling pointer
541 | nsc_conv2d_f16(sPoint,
542 | fPoint,
/Users/admin/builder/spi-builder-workspace/Sources/NumSwift/NumSwiftC/NumSwiftC_Float16.swift:539:15: warning: variable 'sPoint' was never mutated; consider changing to 'let' constant
537 | filter.withUnsafeBufferPointer { fBuff in
538 | var rPoint: [UnsafeMutablePointer<Float16>?] = rBuff.map { UnsafeMutablePointer(mutating: $0) }
539 | var sPoint: [UnsafeMutablePointer<Float16>?] = sBuff.map { UnsafeMutablePointer(mutating: $0) }
| `- warning: variable 'sPoint' was never mutated; consider changing to 'let' constant
540 | var fPoint: [UnsafeMutablePointer<Float16>?] = fBuff.map { UnsafeMutablePointer(mutating: $0) }
541 | nsc_conv2d_f16(sPoint,
/Users/admin/builder/spi-builder-workspace/Sources/NumSwift/NumSwiftC/NumSwiftC_Float16.swift:540:15: warning: variable 'fPoint' was never mutated; consider changing to 'let' constant
538 | var rPoint: [UnsafeMutablePointer<Float16>?] = rBuff.map { UnsafeMutablePointer(mutating: $0) }
539 | var sPoint: [UnsafeMutablePointer<Float16>?] = sBuff.map { UnsafeMutablePointer(mutating: $0) }
540 | var fPoint: [UnsafeMutablePointer<Float16>?] = fBuff.map { UnsafeMutablePointer(mutating: $0) }
| `- warning: variable 'fPoint' was never mutated; consider changing to 'let' constant
541 | nsc_conv2d_f16(sPoint,
542 | fPoint,
/Users/admin/builder/spi-builder-workspace/Sources/NumSwift/NumSwiftC/NumSwiftC_Float16.swift:610:66: warning: initialization of 'UnsafeMutablePointer<Float16>' results in a dangling pointer
608 |
609 | results.withUnsafeBufferPointer { rBuff in
610 | var rPoint: [UnsafeMutablePointer<Float16>?] = rBuff.map { UnsafeMutablePointer(mutating: $0) }
| | |- note: implicit argument conversion from '[Float16]' to 'UnsafePointer<Float16>' produces a pointer valid only for the duration of the call to 'init(mutating:)'
| | `- note: use the 'withUnsafeBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
| `- warning: initialization of 'UnsafeMutablePointer<Float16>' results in a dangling pointer
611 |
612 | signal.withUnsafeBufferPointer { aBuff in
/Users/admin/builder/spi-builder-workspace/Sources/NumSwift/NumSwiftC/NumSwiftC_Float16.swift:614:75: warning: initialization of 'UnsafeMutablePointer<Float16>' results in a dangling pointer
612 | signal.withUnsafeBufferPointer { aBuff in
613 | filter.withUnsafeBufferPointer { bBuff in
614 | let signalPoint: [UnsafeMutablePointer<Float16>?] = aBuff.map { UnsafeMutablePointer(mutating: $0) }
| | |- note: implicit argument conversion from '[Float16]' to 'UnsafePointer<Float16>' produces a pointer valid only for the duration of the call to 'init(mutating:)'
| | `- note: use the 'withUnsafeBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
| `- warning: initialization of 'UnsafeMutablePointer<Float16>' results in a dangling pointer
615 | let filterPoint: [UnsafeMutablePointer<Float16>?] = bBuff.map { UnsafeMutablePointer(mutating: $0) }
616 | nsc_transConv2d_f16(signalPoint,
/Users/admin/builder/spi-builder-workspace/Sources/NumSwift/NumSwiftC/NumSwiftC_Float16.swift:615:75: warning: initialization of 'UnsafeMutablePointer<Float16>' results in a dangling pointer
613 | filter.withUnsafeBufferPointer { bBuff in
614 | let signalPoint: [UnsafeMutablePointer<Float16>?] = aBuff.map { UnsafeMutablePointer(mutating: $0) }
615 | let filterPoint: [UnsafeMutablePointer<Float16>?] = bBuff.map { UnsafeMutablePointer(mutating: $0) }
| | |- note: implicit argument conversion from '[Float16]' to 'UnsafePointer<Float16>' produces a pointer valid only for the duration of the call to 'init(mutating:)'
| | `- note: use the 'withUnsafeBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
| `- warning: initialization of 'UnsafeMutablePointer<Float16>' results in a dangling pointer
616 | nsc_transConv2d_f16(signalPoint,
617 | filterPoint,
[12/14] Compiling NumSwift Float16.swift
/Users/admin/builder/spi-builder-workspace/Sources/NumSwift/Float16.swift:460:9: warning: initialization of immutable value 'left' was never used; consider replacing with assignment to '_' or removing it
458 |
459 | static func *(lhs: Self, rhs: Self) -> Self {
460 | let left = lhs
| `- warning: initialization of immutable value 'left' was never used; consider replacing with assignment to '_' or removing it
461 | let right = rhs
462 |
/Users/admin/builder/spi-builder-workspace/Sources/NumSwift/Float16.swift:461:9: warning: initialization of immutable value 'right' was never used; consider replacing with assignment to '_' or removing it
459 | static func *(lhs: Self, rhs: Self) -> Self {
460 | let left = lhs
461 | let right = rhs
| `- warning: initialization of immutable value 'right' was never used; consider replacing with assignment to '_' or removing it
462 |
463 | var result: Self = []
/Users/admin/builder/spi-builder-workspace/Sources/NumSwift/Float16.swift:473:9: warning: initialization of immutable value 'left' was never used; consider replacing with assignment to '_' or removing it
471 |
472 | static func /(lhs: Self, rhs: Self) -> Self {
473 | let left = lhs
| `- warning: initialization of immutable value 'left' was never used; consider replacing with assignment to '_' or removing it
474 | let right = rhs
475 |
/Users/admin/builder/spi-builder-workspace/Sources/NumSwift/Float16.swift:474:9: warning: initialization of immutable value 'right' was never used; consider replacing with assignment to '_' or removing it
472 | static func /(lhs: Self, rhs: Self) -> Self {
473 | let left = lhs
474 | let right = rhs
| `- warning: initialization of immutable value 'right' was never used; consider replacing with assignment to '_' or removing it
475 |
476 | var result: Self = []
/Users/admin/builder/spi-builder-workspace/Sources/NumSwift/Float16.swift:486:9: warning: initialization of immutable value 'left' was never used; consider replacing with assignment to '_' or removing it
484 |
485 | static func -(lhs: Self, rhs: Self) -> Self {
486 | let left = lhs
| `- warning: initialization of immutable value 'left' was never used; consider replacing with assignment to '_' or removing it
487 | let right = rhs
488 |
/Users/admin/builder/spi-builder-workspace/Sources/NumSwift/Float16.swift:487:9: warning: initialization of immutable value 'right' was never used; consider replacing with assignment to '_' or removing it
485 | static func -(lhs: Self, rhs: Self) -> Self {
486 | let left = lhs
487 | let right = rhs
| `- warning: initialization of immutable value 'right' was never used; consider replacing with assignment to '_' or removing it
488 |
489 | var result: Self = []
/Users/admin/builder/spi-builder-workspace/Sources/NumSwift/Float16.swift:499:9: warning: initialization of immutable value 'left' was never used; consider replacing with assignment to '_' or removing it
497 |
498 | static func +(lhs: Self, rhs: Self) -> Self {
499 | let left = lhs
| `- warning: initialization of immutable value 'left' was never used; consider replacing with assignment to '_' or removing it
500 | let right = rhs
501 |
/Users/admin/builder/spi-builder-workspace/Sources/NumSwift/Float16.swift:500:9: warning: initialization of immutable value 'right' was never used; consider replacing with assignment to '_' or removing it
498 | static func +(lhs: Self, rhs: Self) -> Self {
499 | let left = lhs
500 | let right = rhs
| `- warning: initialization of immutable value 'right' was never used; consider replacing with assignment to '_' or removing it
501 |
502 | var result: Self = []
[13/14] Compiling NumSwift NumSwiftC.swift
/Users/admin/builder/spi-builder-workspace/Sources/NumSwift/NumSwiftC/NumSwiftC.swift:50:64: warning: initialization of 'UnsafeMutablePointer<Float>' results in a dangling pointer
48 |
49 | results.withUnsafeBufferPointer { rBuff in
50 | var rPoint: [UnsafeMutablePointer<Float>?] = rBuff.map { UnsafeMutablePointer(mutating: $0) }
| | |- note: implicit argument conversion from '[Float]' to 'UnsafePointer<Float>' produces a pointer valid only for the duration of the call to 'init(mutating:)'
| | `- note: use the 'withUnsafeBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
| `- warning: initialization of 'UnsafeMutablePointer<Float>' results in a dangling pointer
51 |
52 | a.withUnsafeBufferPointer { aBuff in
/Users/admin/builder/spi-builder-workspace/Sources/NumSwift/NumSwiftC/NumSwiftC.swift:54:68: warning: initialization of 'UnsafeMutablePointer<Float>' results in a dangling pointer
52 | a.withUnsafeBufferPointer { aBuff in
53 | b.withUnsafeBufferPointer { bBuff in
54 | let aPoint: [UnsafeMutablePointer<Float>?] = aBuff.map { UnsafeMutablePointer(mutating: $0) }
| | |- note: implicit argument conversion from '[Float]' to 'UnsafePointer<Float>' produces a pointer valid only for the duration of the call to 'init(mutating:)'
| | `- note: use the 'withUnsafeBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
| `- warning: initialization of 'UnsafeMutablePointer<Float>' results in a dangling pointer
55 | let bPoint: [UnsafeMutablePointer<Float>?] = bBuff.map { UnsafeMutablePointer(mutating: $0) }
56 | nsc_add2d(NSC_Size(rows: Int32(rows),
/Users/admin/builder/spi-builder-workspace/Sources/NumSwift/NumSwiftC/NumSwiftC.swift:55:68: warning: initialization of 'UnsafeMutablePointer<Float>' results in a dangling pointer
53 | b.withUnsafeBufferPointer { bBuff in
54 | let aPoint: [UnsafeMutablePointer<Float>?] = aBuff.map { UnsafeMutablePointer(mutating: $0) }
55 | let bPoint: [UnsafeMutablePointer<Float>?] = bBuff.map { UnsafeMutablePointer(mutating: $0) }
| | |- note: implicit argument conversion from '[Float]' to 'UnsafePointer<Float>' produces a pointer valid only for the duration of the call to 'init(mutating:)'
| | `- note: use the 'withUnsafeBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
| `- warning: initialization of 'UnsafeMutablePointer<Float>' results in a dangling pointer
56 | nsc_add2d(NSC_Size(rows: Int32(rows),
57 | columns: Int32(columns)),
/Users/admin/builder/spi-builder-workspace/Sources/NumSwift/NumSwiftC/NumSwiftC.swift:77:64: warning: initialization of 'UnsafeMutablePointer<Float>' results in a dangling pointer
75 |
76 | results.withUnsafeBufferPointer { rBuff in
77 | var rPoint: [UnsafeMutablePointer<Float>?] = rBuff.map { UnsafeMutablePointer(mutating: $0) }
| | |- note: implicit argument conversion from '[Float]' to 'UnsafePointer<Float>' produces a pointer valid only for the duration of the call to 'init(mutating:)'
| | `- note: use the 'withUnsafeBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
| `- warning: initialization of 'UnsafeMutablePointer<Float>' results in a dangling pointer
78 |
79 | a.withUnsafeBufferPointer { aBuff in
/Users/admin/builder/spi-builder-workspace/Sources/NumSwift/NumSwiftC/NumSwiftC.swift:81:68: warning: initialization of 'UnsafeMutablePointer<Float>' results in a dangling pointer
79 | a.withUnsafeBufferPointer { aBuff in
80 | b.withUnsafeBufferPointer { bBuff in
81 | let aPoint: [UnsafeMutablePointer<Float>?] = aBuff.map { UnsafeMutablePointer(mutating: $0) }
| | |- note: implicit argument conversion from '[Float]' to 'UnsafePointer<Float>' produces a pointer valid only for the duration of the call to 'init(mutating:)'
| | `- note: use the 'withUnsafeBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
| `- warning: initialization of 'UnsafeMutablePointer<Float>' results in a dangling pointer
82 | let bPoint: [UnsafeMutablePointer<Float>?] = bBuff.map { UnsafeMutablePointer(mutating: $0) }
83 | nsc_sub2d(NSC_Size(rows: Int32(rows),
/Users/admin/builder/spi-builder-workspace/Sources/NumSwift/NumSwiftC/NumSwiftC.swift:82:68: warning: initialization of 'UnsafeMutablePointer<Float>' results in a dangling pointer
80 | b.withUnsafeBufferPointer { bBuff in
81 | let aPoint: [UnsafeMutablePointer<Float>?] = aBuff.map { UnsafeMutablePointer(mutating: $0) }
82 | let bPoint: [UnsafeMutablePointer<Float>?] = bBuff.map { UnsafeMutablePointer(mutating: $0) }
| | |- note: implicit argument conversion from '[Float]' to 'UnsafePointer<Float>' produces a pointer valid only for the duration of the call to 'init(mutating:)'
| | `- note: use the 'withUnsafeBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
| `- warning: initialization of 'UnsafeMutablePointer<Float>' results in a dangling pointer
83 | nsc_sub2d(NSC_Size(rows: Int32(rows),
84 | columns: Int32(columns)),
/Users/admin/builder/spi-builder-workspace/Sources/NumSwift/NumSwiftC/NumSwiftC.swift:104:64: warning: initialization of 'UnsafeMutablePointer<Float>' results in a dangling pointer
102 |
103 | results.withUnsafeBufferPointer { rBuff in
104 | var rPoint: [UnsafeMutablePointer<Float>?] = rBuff.map { UnsafeMutablePointer(mutating: $0) }
| | |- note: implicit argument conversion from '[Float]' to 'UnsafePointer<Float>' produces a pointer valid only for the duration of the call to 'init(mutating:)'
| | `- note: use the 'withUnsafeBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
| `- warning: initialization of 'UnsafeMutablePointer<Float>' results in a dangling pointer
105 |
106 | a.withUnsafeBufferPointer { aBuff in
/Users/admin/builder/spi-builder-workspace/Sources/NumSwift/NumSwiftC/NumSwiftC.swift:108:68: warning: initialization of 'UnsafeMutablePointer<Float>' results in a dangling pointer
106 | a.withUnsafeBufferPointer { aBuff in
107 | b.withUnsafeBufferPointer { bBuff in
108 | let aPoint: [UnsafeMutablePointer<Float>?] = aBuff.map { UnsafeMutablePointer(mutating: $0) }
| | |- note: implicit argument conversion from '[Float]' to 'UnsafePointer<Float>' produces a pointer valid only for the duration of the call to 'init(mutating:)'
| | `- note: use the 'withUnsafeBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
| `- warning: initialization of 'UnsafeMutablePointer<Float>' results in a dangling pointer
109 | let bPoint: [UnsafeMutablePointer<Float>?] = bBuff.map { UnsafeMutablePointer(mutating: $0) }
110 | nsc_divide2d(NSC_Size(rows: Int32(rows),
/Users/admin/builder/spi-builder-workspace/Sources/NumSwift/NumSwiftC/NumSwiftC.swift:109:68: warning: initialization of 'UnsafeMutablePointer<Float>' results in a dangling pointer
107 | b.withUnsafeBufferPointer { bBuff in
108 | let aPoint: [UnsafeMutablePointer<Float>?] = aBuff.map { UnsafeMutablePointer(mutating: $0) }
109 | let bPoint: [UnsafeMutablePointer<Float>?] = bBuff.map { UnsafeMutablePointer(mutating: $0) }
| | |- note: implicit argument conversion from '[Float]' to 'UnsafePointer<Float>' produces a pointer valid only for the duration of the call to 'init(mutating:)'
| | `- note: use the 'withUnsafeBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
| `- warning: initialization of 'UnsafeMutablePointer<Float>' results in a dangling pointer
110 | nsc_divide2d(NSC_Size(rows: Int32(rows),
111 | columns: Int32(columns)),
/Users/admin/builder/spi-builder-workspace/Sources/NumSwift/NumSwiftC/NumSwiftC.swift:131:64: warning: initialization of 'UnsafeMutablePointer<Float>' results in a dangling pointer
129 |
130 | results.withUnsafeBufferPointer { rBuff in
131 | var rPoint: [UnsafeMutablePointer<Float>?] = rBuff.map { UnsafeMutablePointer(mutating: $0) }
| | |- note: implicit argument conversion from '[Float]' to 'UnsafePointer<Float>' produces a pointer valid only for the duration of the call to 'init(mutating:)'
| | `- note: use the 'withUnsafeBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
| `- warning: initialization of 'UnsafeMutablePointer<Float>' results in a dangling pointer
132 |
133 | a.withUnsafeBufferPointer { aBuff in
/Users/admin/builder/spi-builder-workspace/Sources/NumSwift/NumSwiftC/NumSwiftC.swift:135:68: warning: initialization of 'UnsafeMutablePointer<Float>' results in a dangling pointer
133 | a.withUnsafeBufferPointer { aBuff in
134 | b.withUnsafeBufferPointer { bBuff in
135 | let aPoint: [UnsafeMutablePointer<Float>?] = aBuff.map { UnsafeMutablePointer(mutating: $0) }
| | |- note: implicit argument conversion from '[Float]' to 'UnsafePointer<Float>' produces a pointer valid only for the duration of the call to 'init(mutating:)'
| | `- note: use the 'withUnsafeBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
| `- warning: initialization of 'UnsafeMutablePointer<Float>' results in a dangling pointer
136 | let bPoint: [UnsafeMutablePointer<Float>?] = bBuff.map { UnsafeMutablePointer(mutating: $0) }
137 | nsc_mult2d(NSC_Size(rows: Int32(rows),
/Users/admin/builder/spi-builder-workspace/Sources/NumSwift/NumSwiftC/NumSwiftC.swift:136:68: warning: initialization of 'UnsafeMutablePointer<Float>' results in a dangling pointer
134 | b.withUnsafeBufferPointer { bBuff in
135 | let aPoint: [UnsafeMutablePointer<Float>?] = aBuff.map { UnsafeMutablePointer(mutating: $0) }
136 | let bPoint: [UnsafeMutablePointer<Float>?] = bBuff.map { UnsafeMutablePointer(mutating: $0) }
| | |- note: implicit argument conversion from '[Float]' to 'UnsafePointer<Float>' produces a pointer valid only for the duration of the call to 'init(mutating:)'
| | `- note: use the 'withUnsafeBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
| `- warning: initialization of 'UnsafeMutablePointer<Float>' results in a dangling pointer
137 | nsc_mult2d(NSC_Size(rows: Int32(rows),
138 | columns: Int32(columns)),
/Users/admin/builder/spi-builder-workspace/Sources/NumSwift/NumSwiftC/NumSwiftC.swift:160:64: warning: initialization of 'UnsafeMutablePointer<Float>' results in a dangling pointer
158 |
159 | results.withUnsafeBufferPointer { rBuff in
160 | var rPoint: [UnsafeMutablePointer<Float>?] = rBuff.map { UnsafeMutablePointer(mutating: $0) }
| | |- note: implicit argument conversion from '[Float]' to 'UnsafePointer<Float>' produces a pointer valid only for the duration of the call to 'init(mutating:)'
| | `- note: use the 'withUnsafeBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
| `- warning: initialization of 'UnsafeMutablePointer<Float>' results in a dangling pointer
161 |
162 | a.withUnsafeBufferPointer { aBuff in
/Users/admin/builder/spi-builder-workspace/Sources/NumSwift/NumSwiftC/NumSwiftC.swift:163:66: warning: initialization of 'UnsafeMutablePointer<Float>' results in a dangling pointer
161 |
162 | a.withUnsafeBufferPointer { aBuff in
163 | let aPoint: [UnsafeMutablePointer<Float>?] = aBuff.map { UnsafeMutablePointer(mutating: $0) }
| | |- note: implicit argument conversion from '[Float]' to 'UnsafePointer<Float>' produces a pointer valid only for the duration of the call to 'init(mutating:)'
| | `- note: use the 'withUnsafeBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
| `- warning: initialization of 'UnsafeMutablePointer<Float>' results in a dangling pointer
164 | nsc_add2d_scalar(NSC_Size(rows: Int32(rows),
165 | columns: Int32(columns)),
/Users/admin/builder/spi-builder-workspace/Sources/NumSwift/NumSwiftC/NumSwiftC.swift:184:64: warning: initialization of 'UnsafeMutablePointer<Float>' results in a dangling pointer
182 |
183 | results.withUnsafeBufferPointer { rBuff in
184 | var rPoint: [UnsafeMutablePointer<Float>?] = rBuff.map { UnsafeMutablePointer(mutating: $0) }
| | |- note: implicit argument conversion from '[Float]' to 'UnsafePointer<Float>' produces a pointer valid only for the duration of the call to 'init(mutating:)'
| | `- note: use the 'withUnsafeBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
| `- warning: initialization of 'UnsafeMutablePointer<Float>' results in a dangling pointer
185 |
186 | a.withUnsafeBufferPointer { aBuff in
/Users/admin/builder/spi-builder-workspace/Sources/NumSwift/NumSwiftC/NumSwiftC.swift:187:66: warning: initialization of 'UnsafeMutablePointer<Float>' results in a dangling pointer
185 |
186 | a.withUnsafeBufferPointer { aBuff in
187 | let aPoint: [UnsafeMutablePointer<Float>?] = aBuff.map { UnsafeMutablePointer(mutating: $0) }
| | |- note: implicit argument conversion from '[Float]' to 'UnsafePointer<Float>' produces a pointer valid only for the duration of the call to 'init(mutating:)'
| | `- note: use the 'withUnsafeBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
| `- warning: initialization of 'UnsafeMutablePointer<Float>' results in a dangling pointer
188 | nsc_add2d_array_scalar(NSC_Size(rows: Int32(rows),
189 | columns: Int32(columns)),
/Users/admin/builder/spi-builder-workspace/Sources/NumSwift/NumSwiftC/NumSwiftC.swift:208:64: warning: initialization of 'UnsafeMutablePointer<Float>' results in a dangling pointer
206 |
207 | results.withUnsafeBufferPointer { rBuff in
208 | var rPoint: [UnsafeMutablePointer<Float>?] = rBuff.map { UnsafeMutablePointer(mutating: $0) }
| | |- note: implicit argument conversion from '[Float]' to 'UnsafePointer<Float>' produces a pointer valid only for the duration of the call to 'init(mutating:)'
| | `- note: use the 'withUnsafeBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
| `- warning: initialization of 'UnsafeMutablePointer<Float>' results in a dangling pointer
209 |
210 | a.withUnsafeBufferPointer { aBuff in
/Users/admin/builder/spi-builder-workspace/Sources/NumSwift/NumSwiftC/NumSwiftC.swift:211:66: warning: initialization of 'UnsafeMutablePointer<Float>' results in a dangling pointer
209 |
210 | a.withUnsafeBufferPointer { aBuff in
211 | let aPoint: [UnsafeMutablePointer<Float>?] = aBuff.map { UnsafeMutablePointer(mutating: $0) }
| | |- note: implicit argument conversion from '[Float]' to 'UnsafePointer<Float>' produces a pointer valid only for the duration of the call to 'init(mutating:)'
| | `- note: use the 'withUnsafeBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
| `- warning: initialization of 'UnsafeMutablePointer<Float>' results in a dangling pointer
212 | nsc_sub2d_scalar(NSC_Size(rows: Int32(rows),
213 | columns: Int32(columns)),
/Users/admin/builder/spi-builder-workspace/Sources/NumSwift/NumSwiftC/NumSwiftC.swift:232:64: warning: initialization of 'UnsafeMutablePointer<Float>' results in a dangling pointer
230 |
231 | results.withUnsafeBufferPointer { rBuff in
232 | var rPoint: [UnsafeMutablePointer<Float>?] = rBuff.map { UnsafeMutablePointer(mutating: $0) }
| | |- note: implicit argument conversion from '[Float]' to 'UnsafePointer<Float>' produces a pointer valid only for the duration of the call to 'init(mutating:)'
| | `- note: use the 'withUnsafeBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
| `- warning: initialization of 'UnsafeMutablePointer<Float>' results in a dangling pointer
233 |
234 | a.withUnsafeBufferPointer { aBuff in
/Users/admin/builder/spi-builder-workspace/Sources/NumSwift/NumSwiftC/NumSwiftC.swift:235:66: warning: initialization of 'UnsafeMutablePointer<Float>' results in a dangling pointer
233 |
234 | a.withUnsafeBufferPointer { aBuff in
235 | let aPoint: [UnsafeMutablePointer<Float>?] = aBuff.map { UnsafeMutablePointer(mutating: $0) }
| | |- note: implicit argument conversion from '[Float]' to 'UnsafePointer<Float>' produces a pointer valid only for the duration of the call to 'init(mutating:)'
| | `- note: use the 'withUnsafeBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
| `- warning: initialization of 'UnsafeMutablePointer<Float>' results in a dangling pointer
236 | nsc_sub2d_array_scalar(NSC_Size(rows: Int32(rows),
237 | columns: Int32(columns)),
/Users/admin/builder/spi-builder-workspace/Sources/NumSwift/NumSwiftC/NumSwiftC.swift:256:64: warning: initialization of 'UnsafeMutablePointer<Float>' results in a dangling pointer
254 |
255 | results.withUnsafeBufferPointer { rBuff in
256 | var rPoint: [UnsafeMutablePointer<Float>?] = rBuff.map { UnsafeMutablePointer(mutating: $0) }
| | |- note: implicit argument conversion from '[Float]' to 'UnsafePointer<Float>' produces a pointer valid only for the duration of the call to 'init(mutating:)'
| | `- note: use the 'withUnsafeBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
| `- warning: initialization of 'UnsafeMutablePointer<Float>' results in a dangling pointer
257 |
258 | a.withUnsafeBufferPointer { aBuff in
/Users/admin/builder/spi-builder-workspace/Sources/NumSwift/NumSwiftC/NumSwiftC.swift:259:66: warning: initialization of 'UnsafeMutablePointer<Float>' results in a dangling pointer
257 |
258 | a.withUnsafeBufferPointer { aBuff in
259 | let aPoint: [UnsafeMutablePointer<Float>?] = aBuff.map { UnsafeMutablePointer(mutating: $0) }
| | |- note: implicit argument conversion from '[Float]' to 'UnsafePointer<Float>' produces a pointer valid only for the duration of the call to 'init(mutating:)'
| | `- note: use the 'withUnsafeBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
| `- warning: initialization of 'UnsafeMutablePointer<Float>' results in a dangling pointer
260 | nsc_mult2d_scalar(NSC_Size(rows: Int32(rows),
261 | columns: Int32(columns)),
/Users/admin/builder/spi-builder-workspace/Sources/NumSwift/NumSwiftC/NumSwiftC.swift:280:64: warning: initialization of 'UnsafeMutablePointer<Float>' results in a dangling pointer
278 |
279 | results.withUnsafeBufferPointer { rBuff in
280 | var rPoint: [UnsafeMutablePointer<Float>?] = rBuff.map { UnsafeMutablePointer(mutating: $0) }
| | |- note: implicit argument conversion from '[Float]' to 'UnsafePointer<Float>' produces a pointer valid only for the duration of the call to 'init(mutating:)'
| | `- note: use the 'withUnsafeBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
| `- warning: initialization of 'UnsafeMutablePointer<Float>' results in a dangling pointer
281 |
282 | a.withUnsafeBufferPointer { aBuff in
/Users/admin/builder/spi-builder-workspace/Sources/NumSwift/NumSwiftC/NumSwiftC.swift:283:66: warning: initialization of 'UnsafeMutablePointer<Float>' results in a dangling pointer
281 |
282 | a.withUnsafeBufferPointer { aBuff in
283 | let aPoint: [UnsafeMutablePointer<Float>?] = aBuff.map { UnsafeMutablePointer(mutating: $0) }
| | |- note: implicit argument conversion from '[Float]' to 'UnsafePointer<Float>' produces a pointer valid only for the duration of the call to 'init(mutating:)'
| | `- note: use the 'withUnsafeBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
| `- warning: initialization of 'UnsafeMutablePointer<Float>' results in a dangling pointer
284 | nsc_mult2d_array_scalar(NSC_Size(rows: Int32(rows),
285 | columns: Int32(columns)),
/Users/admin/builder/spi-builder-workspace/Sources/NumSwift/NumSwiftC/NumSwiftC.swift:304:64: warning: initialization of 'UnsafeMutablePointer<Float>' results in a dangling pointer
302 |
303 | results.withUnsafeBufferPointer { rBuff in
304 | var rPoint: [UnsafeMutablePointer<Float>?] = rBuff.map { UnsafeMutablePointer(mutating: $0) }
| | |- note: implicit argument conversion from '[Float]' to 'UnsafePointer<Float>' produces a pointer valid only for the duration of the call to 'init(mutating:)'
| | `- note: use the 'withUnsafeBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
| `- warning: initialization of 'UnsafeMutablePointer<Float>' results in a dangling pointer
305 |
306 | a.withUnsafeBufferPointer { aBuff in
/Users/admin/builder/spi-builder-workspace/Sources/NumSwift/NumSwiftC/NumSwiftC.swift:307:66: warning: initialization of 'UnsafeMutablePointer<Float>' results in a dangling pointer
305 |
306 | a.withUnsafeBufferPointer { aBuff in
307 | let aPoint: [UnsafeMutablePointer<Float>?] = aBuff.map { UnsafeMutablePointer(mutating: $0) }
| | |- note: implicit argument conversion from '[Float]' to 'UnsafePointer<Float>' produces a pointer valid only for the duration of the call to 'init(mutating:)'
| | `- note: use the 'withUnsafeBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
| `- warning: initialization of 'UnsafeMutablePointer<Float>' results in a dangling pointer
308 | nsc_divide2d_scalar(NSC_Size(rows: Int32(rows),
309 | columns: Int32(columns)),
/Users/admin/builder/spi-builder-workspace/Sources/NumSwift/NumSwiftC/NumSwiftC.swift:328:64: warning: initialization of 'UnsafeMutablePointer<Float>' results in a dangling pointer
326 |
327 | results.withUnsafeBufferPointer { rBuff in
328 | var rPoint: [UnsafeMutablePointer<Float>?] = rBuff.map { UnsafeMutablePointer(mutating: $0) }
| | |- note: implicit argument conversion from '[Float]' to 'UnsafePointer<Float>' produces a pointer valid only for the duration of the call to 'init(mutating:)'
| | `- note: use the 'withUnsafeBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
| `- warning: initialization of 'UnsafeMutablePointer<Float>' results in a dangling pointer
329 |
330 | a.withUnsafeBufferPointer { aBuff in
/Users/admin/builder/spi-builder-workspace/Sources/NumSwift/NumSwiftC/NumSwiftC.swift:331:66: warning: initialization of 'UnsafeMutablePointer<Float>' results in a dangling pointer
329 |
330 | a.withUnsafeBufferPointer { aBuff in
331 | let aPoint: [UnsafeMutablePointer<Float>?] = aBuff.map { UnsafeMutablePointer(mutating: $0) }
| | |- note: implicit argument conversion from '[Float]' to 'UnsafePointer<Float>' produces a pointer valid only for the duration of the call to 'init(mutating:)'
| | `- note: use the 'withUnsafeBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
| `- warning: initialization of 'UnsafeMutablePointer<Float>' results in a dangling pointer
332 | nsc_divide2d_array_scalar(NSC_Size(rows: Int32(rows),
333 | columns: Int32(columns)),
/Users/admin/builder/spi-builder-workspace/Sources/NumSwift/NumSwiftC/NumSwiftC.swift:347:64: warning: initialization of 'UnsafeMutablePointer<Float>' results in a dangling pointer
345 |
346 | result.withUnsafeBufferPointer { rBuff in
347 | var rPoint: [UnsafeMutablePointer<Float>?] = rBuff.map { UnsafeMutablePointer(mutating: $0) }
| | |- note: implicit argument conversion from '[Float]' to 'UnsafePointer<Float>' produces a pointer valid only for the duration of the call to 'init(mutating:)'
| | `- note: use the 'withUnsafeBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
| `- warning: initialization of 'UnsafeMutablePointer<Float>' results in a dangling pointer
348 |
349 | a.withUnsafeBufferPointer { aBuff in
/Users/admin/builder/spi-builder-workspace/Sources/NumSwift/NumSwiftC/NumSwiftC.swift:350:66: warning: initialization of 'UnsafeMutablePointer<Float>' results in a dangling pointer
348 |
349 | a.withUnsafeBufferPointer { aBuff in
350 | let aPoint: [UnsafeMutablePointer<Float>?] = aBuff.map { UnsafeMutablePointer(mutating: $0) }
| | |- note: implicit argument conversion from '[Float]' to 'UnsafePointer<Float>' produces a pointer valid only for the duration of the call to 'init(mutating:)'
| | `- note: use the 'withUnsafeBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
| `- warning: initialization of 'UnsafeMutablePointer<Float>' results in a dangling pointer
351 | nsc_transpose_2d(aPoint,
352 | &rPoint,
/Users/admin/builder/spi-builder-workspace/Sources/NumSwift/NumSwiftC/NumSwiftC.swift:371:64: warning: initialization of 'UnsafeMutablePointer<Float>' results in a dangling pointer
369 |
370 | results.withUnsafeBufferPointer { rBuff in
371 | var rPoint: [UnsafeMutablePointer<Float>?] = rBuff.map { UnsafeMutablePointer(mutating: $0) }
| | |- note: implicit argument conversion from '[Float]' to 'UnsafePointer<Float>' produces a pointer valid only for the duration of the call to 'init(mutating:)'
| | `- note: use the 'withUnsafeBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
| `- warning: initialization of 'UnsafeMutablePointer<Float>' results in a dangling pointer
372 |
373 | a.withUnsafeBufferPointer { aBuff in
/Users/admin/builder/spi-builder-workspace/Sources/NumSwift/NumSwiftC/NumSwiftC.swift:375:68: warning: initialization of 'UnsafeMutablePointer<Float>' results in a dangling pointer
373 | a.withUnsafeBufferPointer { aBuff in
374 | b.withUnsafeBufferPointer { bBuff in
375 | let aPoint: [UnsafeMutablePointer<Float>?] = aBuff.map { UnsafeMutablePointer(mutating: $0) }
| | |- note: implicit argument conversion from '[Float]' to 'UnsafePointer<Float>' produces a pointer valid only for the duration of the call to 'init(mutating:)'
| | `- note: use the 'withUnsafeBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
| `- warning: initialization of 'UnsafeMutablePointer<Float>' results in a dangling pointer
376 | let bPoint: [UnsafeMutablePointer<Float>?] = bBuff.map { UnsafeMutablePointer(mutating: $0) }
377 | nsc_matmul(NSC_Size(rows: Int32(aSize.rows), columns: Int32(aSize.columns)),
/Users/admin/builder/spi-builder-workspace/Sources/NumSwift/NumSwiftC/NumSwiftC.swift:376:68: warning: initialization of 'UnsafeMutablePointer<Float>' results in a dangling pointer
374 | b.withUnsafeBufferPointer { bBuff in
375 | let aPoint: [UnsafeMutablePointer<Float>?] = aBuff.map { UnsafeMutablePointer(mutating: $0) }
376 | let bPoint: [UnsafeMutablePointer<Float>?] = bBuff.map { UnsafeMutablePointer(mutating: $0) }
| | |- note: implicit argument conversion from '[Float]' to 'UnsafePointer<Float>' produces a pointer valid only for the duration of the call to 'init(mutating:)'
| | `- note: use the 'withUnsafeBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
| `- warning: initialization of 'UnsafeMutablePointer<Float>' results in a dangling pointer
377 | nsc_matmul(NSC_Size(rows: Int32(aSize.rows), columns: Int32(aSize.columns)),
378 | NSC_Size(rows: Int32(bSize.rows), columns: Int32(bSize.columns)),
/Users/admin/builder/spi-builder-workspace/Sources/NumSwift/NumSwiftC/NumSwiftC.swift:403:71: warning: initialization of 'UnsafeMutablePointer<Float>' results in a dangling pointer
401 |
402 | input.withUnsafeBufferPointer { (inputsBuffer) in
403 | let inPuts: [UnsafeMutablePointer<Float>?] = inputsBuffer.map { UnsafeMutablePointer(mutating: $0) }
| | |- note: implicit argument conversion from '[Float]' to 'UnsafePointer<Float>' produces a pointer valid only for the duration of the call to 'init(mutating:)'
| | `- note: use the 'withUnsafeBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
| `- warning: initialization of 'UnsafeMutablePointer<Float>' results in a dangling pointer
404 |
405 | nsc_flatten2d(NSC_Size(rows: Int32(rows), columns: Int32(columns)), inPuts, &results)
/Users/admin/builder/spi-builder-workspace/Sources/NumSwift/NumSwiftC/NumSwiftC.swift:429:66: warning: initialization of 'UnsafeMutablePointer<Float>' results in a dangling pointer
427 | results.withUnsafeBufferPointer { rBuff in
428 | signal.withUnsafeBufferPointer { sBuff in
429 | var rPoint: [UnsafeMutablePointer<Float>?] = rBuff.map { UnsafeMutablePointer(mutating: $0) }
| | |- note: implicit argument conversion from '[Float]' to 'UnsafePointer<Float>' produces a pointer valid only for the duration of the call to 'init(mutating:)'
| | `- note: use the 'withUnsafeBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
| `- warning: initialization of 'UnsafeMutablePointer<Float>' results in a dangling pointer
430 | let sPoint: [UnsafeMutablePointer<Float>?] = sBuff.map { UnsafeMutablePointer(mutating: $0) }
431 | nsc_stride_pad_2D(sPoint,
/Users/admin/builder/spi-builder-workspace/Sources/NumSwift/NumSwiftC/NumSwiftC.swift:430:66: warning: initialization of 'UnsafeMutablePointer<Float>' results in a dangling pointer
428 | signal.withUnsafeBufferPointer { sBuff in
429 | var rPoint: [UnsafeMutablePointer<Float>?] = rBuff.map { UnsafeMutablePointer(mutating: $0) }
430 | let sPoint: [UnsafeMutablePointer<Float>?] = sBuff.map { UnsafeMutablePointer(mutating: $0) }
| | |- note: implicit argument conversion from '[Float]' to 'UnsafePointer<Float>' produces a pointer valid only for the duration of the call to 'init(mutating:)'
| | `- note: use the 'withUnsafeBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
| `- warning: initialization of 'UnsafeMutablePointer<Float>' results in a dangling pointer
431 | nsc_stride_pad_2D(sPoint,
432 | &rPoint,
/Users/admin/builder/spi-builder-workspace/Sources/NumSwift/NumSwiftC/NumSwiftC.swift:425:9: warning: variable 'results' was never mutated; consider changing to 'let' constant
423 | let newColumns = columns + ((strides.columns - 1) * (columns - 1))
424 |
425 | var results: [[Float]] = NumSwift.zerosLike((rows: newRows, columns: newColumns))
| `- warning: variable 'results' was never mutated; consider changing to 'let' constant
426 |
427 | results.withUnsafeBufferPointer { rBuff in
/Users/admin/builder/spi-builder-workspace/Sources/NumSwift/NumSwiftC/NumSwiftC.swift:489:66: warning: initialization of 'UnsafeMutablePointer<Float>' results in a dangling pointer
487 | results.withUnsafeBufferPointer { rBuff in
488 | signal.withUnsafeBufferPointer { sBuff in
489 | var rPoint: [UnsafeMutablePointer<Float>?] = rBuff.map { UnsafeMutablePointer(mutating: $0) }
| | |- note: implicit argument conversion from '[Float]' to 'UnsafePointer<Float>' produces a pointer valid only for the duration of the call to 'init(mutating:)'
| | `- note: use the 'withUnsafeBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
| `- warning: initialization of 'UnsafeMutablePointer<Float>' results in a dangling pointer
490 | let sPoint: [UnsafeMutablePointer<Float>?] = sBuff.map { UnsafeMutablePointer(mutating: $0) }
491 |
/Users/admin/builder/spi-builder-workspace/Sources/NumSwift/NumSwiftC/NumSwiftC.swift:490:66: warning: initialization of 'UnsafeMutablePointer<Float>' results in a dangling pointer
488 | signal.withUnsafeBufferPointer { sBuff in
489 | var rPoint: [UnsafeMutablePointer<Float>?] = rBuff.map { UnsafeMutablePointer(mutating: $0) }
490 | let sPoint: [UnsafeMutablePointer<Float>?] = sBuff.map { UnsafeMutablePointer(mutating: $0) }
| | |- note: implicit argument conversion from '[Float]' to 'UnsafePointer<Float>' produces a pointer valid only for the duration of the call to 'init(mutating:)'
| | `- note: use the 'withUnsafeBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
| `- warning: initialization of 'UnsafeMutablePointer<Float>' results in a dangling pointer
491 |
492 | nsc_specific_zero_pad_2d(sPoint,
/Users/admin/builder/spi-builder-workspace/Sources/NumSwift/NumSwiftC/NumSwiftC.swift:531:66: warning: initialization of 'UnsafeMutablePointer<Float>' results in a dangling pointer
529 | results.withUnsafeBufferPointer { rBuff in
530 | signal.withUnsafeBufferPointer { sBuff in
531 | var rPoint: [UnsafeMutablePointer<Float>?] = rBuff.map { UnsafeMutablePointer(mutating: $0) }
| | |- note: implicit argument conversion from '[Float]' to 'UnsafePointer<Float>' produces a pointer valid only for the duration of the call to 'init(mutating:)'
| | `- note: use the 'withUnsafeBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
| `- warning: initialization of 'UnsafeMutablePointer<Float>' results in a dangling pointer
532 | let sPoint: [UnsafeMutablePointer<Float>?] = sBuff.map { UnsafeMutablePointer(mutating: $0) }
533 |
/Users/admin/builder/spi-builder-workspace/Sources/NumSwift/NumSwiftC/NumSwiftC.swift:532:66: warning: initialization of 'UnsafeMutablePointer<Float>' results in a dangling pointer
530 | signal.withUnsafeBufferPointer { sBuff in
531 | var rPoint: [UnsafeMutablePointer<Float>?] = rBuff.map { UnsafeMutablePointer(mutating: $0) }
532 | let sPoint: [UnsafeMutablePointer<Float>?] = sBuff.map { UnsafeMutablePointer(mutating: $0) }
| | |- note: implicit argument conversion from '[Float]' to 'UnsafePointer<Float>' produces a pointer valid only for the duration of the call to 'init(mutating:)'
| | `- note: use the 'withUnsafeBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
| `- warning: initialization of 'UnsafeMutablePointer<Float>' results in a dangling pointer
533 |
534 | nsc_specific_zero_pad_2d(sPoint,
/Users/admin/builder/spi-builder-workspace/Sources/NumSwift/NumSwiftC/NumSwiftC.swift:565:68: warning: initialization of 'UnsafeMutablePointer<Float>' results in a dangling pointer
563 | signal.withUnsafeBufferPointer { sBuff in
564 | filter.withUnsafeBufferPointer { fBuff in
565 | var rPoint: [UnsafeMutablePointer<Float>?] = rBuff.map { UnsafeMutablePointer(mutating: $0) }
| | |- note: implicit argument conversion from '[Float]' to 'UnsafePointer<Float>' produces a pointer valid only for the duration of the call to 'init(mutating:)'
| | `- note: use the 'withUnsafeBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
| `- warning: initialization of 'UnsafeMutablePointer<Float>' results in a dangling pointer
566 | var sPoint: [UnsafeMutablePointer<Float>?] = sBuff.map { UnsafeMutablePointer(mutating: $0) }
567 | var fPoint: [UnsafeMutablePointer<Float>?] = fBuff.map { UnsafeMutablePointer(mutating: $0) }
/Users/admin/builder/spi-builder-workspace/Sources/NumSwift/NumSwiftC/NumSwiftC.swift:566:68: warning: initialization of 'UnsafeMutablePointer<Float>' results in a dangling pointer
564 | filter.withUnsafeBufferPointer { fBuff in
565 | var rPoint: [UnsafeMutablePointer<Float>?] = rBuff.map { UnsafeMutablePointer(mutating: $0) }
566 | var sPoint: [UnsafeMutablePointer<Float>?] = sBuff.map { UnsafeMutablePointer(mutating: $0) }
| | |- note: implicit argument conversion from '[Float]' to 'UnsafePointer<Float>' produces a pointer valid only for the duration of the call to 'init(mutating:)'
| | `- note: use the 'withUnsafeBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
| `- warning: initialization of 'UnsafeMutablePointer<Float>' results in a dangling pointer
567 | var fPoint: [UnsafeMutablePointer<Float>?] = fBuff.map { UnsafeMutablePointer(mutating: $0) }
568 | nsc_conv2d(sPoint,
/Users/admin/builder/spi-builder-workspace/Sources/NumSwift/NumSwiftC/NumSwiftC.swift:567:68: warning: initialization of 'UnsafeMutablePointer<Float>' results in a dangling pointer
565 | var rPoint: [UnsafeMutablePointer<Float>?] = rBuff.map { UnsafeMutablePointer(mutating: $0) }
566 | var sPoint: [UnsafeMutablePointer<Float>?] = sBuff.map { UnsafeMutablePointer(mutating: $0) }
567 | var fPoint: [UnsafeMutablePointer<Float>?] = fBuff.map { UnsafeMutablePointer(mutating: $0) }
| | |- note: implicit argument conversion from '[Float]' to 'UnsafePointer<Float>' produces a pointer valid only for the duration of the call to 'init(mutating:)'
| | `- note: use the 'withUnsafeBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
| `- warning: initialization of 'UnsafeMutablePointer<Float>' results in a dangling pointer
568 | nsc_conv2d(sPoint,
569 | fPoint,
/Users/admin/builder/spi-builder-workspace/Sources/NumSwift/NumSwiftC/NumSwiftC.swift:566:15: warning: variable 'sPoint' was never mutated; consider changing to 'let' constant
564 | filter.withUnsafeBufferPointer { fBuff in
565 | var rPoint: [UnsafeMutablePointer<Float>?] = rBuff.map { UnsafeMutablePointer(mutating: $0) }
566 | var sPoint: [UnsafeMutablePointer<Float>?] = sBuff.map { UnsafeMutablePointer(mutating: $0) }
| `- warning: variable 'sPoint' was never mutated; consider changing to 'let' constant
567 | var fPoint: [UnsafeMutablePointer<Float>?] = fBuff.map { UnsafeMutablePointer(mutating: $0) }
568 | nsc_conv2d(sPoint,
/Users/admin/builder/spi-builder-workspace/Sources/NumSwift/NumSwiftC/NumSwiftC.swift:567:15: warning: variable 'fPoint' was never mutated; consider changing to 'let' constant
565 | var rPoint: [UnsafeMutablePointer<Float>?] = rBuff.map { UnsafeMutablePointer(mutating: $0) }
566 | var sPoint: [UnsafeMutablePointer<Float>?] = sBuff.map { UnsafeMutablePointer(mutating: $0) }
567 | var fPoint: [UnsafeMutablePointer<Float>?] = fBuff.map { UnsafeMutablePointer(mutating: $0) }
| `- warning: variable 'fPoint' was never mutated; consider changing to 'let' constant
568 | nsc_conv2d(sPoint,
569 | fPoint,
/Users/admin/builder/spi-builder-workspace/Sources/NumSwift/NumSwiftC/NumSwiftC.swift:637:64: warning: initialization of 'UnsafeMutablePointer<Float>' results in a dangling pointer
635 |
636 | results.withUnsafeBufferPointer { rBuff in
637 | var rPoint: [UnsafeMutablePointer<Float>?] = rBuff.map { UnsafeMutablePointer(mutating: $0) }
| | |- note: implicit argument conversion from '[Float]' to 'UnsafePointer<Float>' produces a pointer valid only for the duration of the call to 'init(mutating:)'
| | `- note: use the 'withUnsafeBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
| `- warning: initialization of 'UnsafeMutablePointer<Float>' results in a dangling pointer
638 |
639 | signal.withUnsafeBufferPointer { aBuff in
/Users/admin/builder/spi-builder-workspace/Sources/NumSwift/NumSwiftC/NumSwiftC.swift:641:73: warning: initialization of 'UnsafeMutablePointer<Float>' results in a dangling pointer
639 | signal.withUnsafeBufferPointer { aBuff in
640 | filter.withUnsafeBufferPointer { bBuff in
641 | let signalPoint: [UnsafeMutablePointer<Float>?] = aBuff.map { UnsafeMutablePointer(mutating: $0) }
| | |- note: implicit argument conversion from '[Float]' to 'UnsafePointer<Float>' produces a pointer valid only for the duration of the call to 'init(mutating:)'
| | `- note: use the 'withUnsafeBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
| `- warning: initialization of 'UnsafeMutablePointer<Float>' results in a dangling pointer
642 | let filterPoint: [UnsafeMutablePointer<Float>?] = bBuff.map { UnsafeMutablePointer(mutating: $0) }
643 | nsc_transConv2d(signalPoint,
/Users/admin/builder/spi-builder-workspace/Sources/NumSwift/NumSwiftC/NumSwiftC.swift:642:73: warning: initialization of 'UnsafeMutablePointer<Float>' results in a dangling pointer
640 | filter.withUnsafeBufferPointer { bBuff in
641 | let signalPoint: [UnsafeMutablePointer<Float>?] = aBuff.map { UnsafeMutablePointer(mutating: $0) }
642 | let filterPoint: [UnsafeMutablePointer<Float>?] = bBuff.map { UnsafeMutablePointer(mutating: $0) }
| | |- note: implicit argument conversion from '[Float]' to 'UnsafePointer<Float>' produces a pointer valid only for the duration of the call to 'init(mutating:)'
| | `- note: use the 'withUnsafeBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
| `- warning: initialization of 'UnsafeMutablePointer<Float>' results in a dangling pointer
643 | nsc_transConv2d(signalPoint,
644 | filterPoint,
[14/14] Compiling NumSwift NumSwift.swift
/Users/admin/builder/spi-builder-workspace/Sources/NumSwift/NumSwift.swift:196:15: warning: variable 'row' was never mutated; consider changing to 'let' constant
194 |
195 | for _ in 0..<size.rows {
196 | var row = ContiguousArray<Float>(unsafeUninitializedCapacity: size.columns) { buffer, initializedCount in
| `- warning: variable 'row' was never mutated; consider changing to 'let' constant
197 | vDSP_vclr(buffer.baseAddress!, 1, vDSP_Length(size.columns))
198 | initializedCount = size.columns
Build complete! (7.56s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "NumSwift",
"name" : "NumSwift",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "14.0"
},
{
"name" : "tvos",
"version" : "14.0"
},
{
"name" : "watchos",
"version" : "7.0"
},
{
"name" : "macos",
"version" : "11.0"
}
],
"products" : [
{
"name" : "NumSwift",
"targets" : [
"NumSwift",
"NumSwiftC"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "NumSwiftTests",
"module_type" : "SwiftTarget",
"name" : "NumSwiftTests",
"path" : "Tests/NumSwiftTests",
"sources" : [
"Benchmarks.swift",
"NumSwiftTests.swift",
"NumSwiftTestsFloat16.swift"
],
"target_dependencies" : [
"NumSwift"
],
"type" : "test"
},
{
"c99name" : "NumSwiftC",
"module_type" : "ClangTarget",
"name" : "NumSwiftC",
"path" : "Sources/NumSwiftC",
"product_memberships" : [
"NumSwift"
],
"sources" : [
"numswiftc.c",
"numswiftc_base.c"
],
"type" : "library"
},
{
"c99name" : "NumSwift",
"module_type" : "SwiftTarget",
"name" : "NumSwift",
"path" : "Sources/NumSwift",
"product_memberships" : [
"NumSwift"
],
"sources" : [
"BaseNumeric.swift",
"Double.swift",
"Extensions.swift",
"Float16.swift",
"Float32.swift",
"NumSwift.swift",
"NumSwiftC/Base/NumSwiftCF16Base.swift",
"NumSwiftC/NumSwiftC.swift",
"NumSwiftC/NumSwiftC_Float16.swift"
],
"target_dependencies" : [
"NumSwiftC"
],
"type" : "library"
}
],
"tools_version" : "5.5"
}
Done.