Skip to content

Commit ffdd97a

Browse files
committed
Fix a static exclusivity violation in OpenCLSOverlay.swift.
I noticed this during testing, but it has nothing to do with the other changes in this PR. This static violation has always been present as a warning and would continue to be a warning after my changes.
1 parent 293fb5a commit ffdd97a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

validation-test/stdlib/OpenCLSDKOverlay.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ tests.test("clSetKernelArgsListAPPLE") {
194194
kernel!, 3,
195195
0, MemoryLayout<cl_mem>.size, inputPtr,
196196
1, MemoryLayout<cl_mem>.size, outputPtr,
197-
2, MemoryLayout.size(ofValue: count), countPtr)
197+
2, MemoryLayout.size(ofValue: countPtr.pointee), countPtr)
198198
}
199199
}
200200
}

0 commit comments

Comments
 (0)