Skip to content

Commit

Permalink
Apple silicon check
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremiahpslewis authored Mar 3, 2024
1 parent 0862e1c commit b96316f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ReinforcementLearningExperiments/test/runtests.jl
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using UUIDs
using Preferences

if Sys.isapple()
if Sys.isapple() && Sys.ARCH === :aarch64
flux_uuid = UUID("587475ba-b771-5e3f-ad9e-33799f191a9c")
set_preferences!(flux_uuid, "gpu_backend" => "Metal")

Expand Down

0 comments on commit b96316f

Please sign in to comment.