Skip to content

Commit b3f19f1

Browse files
committed
refactor: Array.contains in Utils.float64Available
1 parent 29a93c4 commit b3f19f1

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

tests/GraphBLAS-sharp.Tests/Helpers.fs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -117,11 +117,7 @@ module Utils =
117117
| _ -> []
118118

119119
let isFloat64Available (context: ClDevice) =
120-
Array.exists
121-
(function
122-
| CL_KHR_FP64 -> true
123-
| _ -> false)
124-
context.DeviceExtensions
120+
Array.contains CL_KHR_FP64 context.DeviceExtensions
125121

126122
let transpose2DArray array =
127123
let result =

0 commit comments

Comments
 (0)