Skip to content

Commit f2488ff

Browse files
committed
Clean up test imports
1 parent 335cec6 commit f2488ff

File tree

9 files changed

+1
-15
lines changed

9 files changed

+1
-15
lines changed

test/device/intrinsics/atomics.jl

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
using Random
2-
31
@testset "atomics" begin
42

53
n = 128 # NOTE: also hard-coded in MtlThreadGroupArray constructors

test/device/intrinsics/math.jl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
using Metal: metal_support
2-
using Random
32
using SpecialFunctions
43

54
############################################################################################

test/device/intrinsics/simd.jl

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
using Random
2-
31
@testset "simd intrinsics" begin
42

53
@testset "$f($typ)" for typ in [Float32, Float16, Int32, UInt32, Int16, UInt16, Int8, UInt8], (f,res_idx) in [(simd_shuffle_down, 1), (simd_shuffle_up, 32)]

test/device/intrinsics/synchronization.jl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
using Random
21
@testset "synchronization" begin
32
# host/device synchronization
43
let

test/mps/linalg.jl

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
using LinearAlgebra
2-
31
if MPS.is_supported(device())
42

53
@testset "mixed-precision matrix matrix multiplication" begin

test/mps/ndarray.jl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
#
22
# matrix descriptor
33
#
4-
using Metal
54
using .MPS: MPSNDArrayDescriptor, MPSDataType, lengthOfDimension, descriptor, resourceSize
65
@static if Metal.macos_version() >= v"15"
76
using .MPS: userBuffer

test/mpsgraphs/linalg.jl

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
using LinearAlgebra
2-
3-
41
if MPS.is_supported(device())
52

63
@testset "mixed-precision matrix matrix multiplication" begin

test/mpsgraphs/random.jl

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
using BFloat16s
2-
31
if MPS.is_supported(device())
42

53
using .MPSGraphs: MPSGraphRandomOpDescriptor, MPSGraphRandomDistributionNormal, MPSGraphRandomDistributionTruncatedNormal, MPSGraphRandomDistributionUniform

test/setup.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
using Distributed, Test, Metal, Adapt, ObjectiveC, ObjectiveC.Foundation
1+
using Distributed, Test, Metal, Adapt, ObjectiveC, ObjectiveC.Foundation, BFloat16s
22

33
# GPUArrays has a testsuite that isn't part of the main package.
44
# Include it directly.

0 commit comments

Comments
 (0)