Skip to content

Commit

Permalink
Append visionOS support (#56)
Browse files Browse the repository at this point in the history
* Append visionOS support

* Fix typo
  • Loading branch information
florentmorin committed Mar 30, 2024
1 parent 19a1985 commit f4b00d8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ let package = Package(
platforms: [
.macOS("13.3"),
.iOS(.v16),
.visionOS(.v1),
],

products: [
Expand Down
2 changes: 1 addition & 1 deletion Source/Cmlx/mlx-conditional/compiled_conditional.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#include <TargetConditionals.h>

// select the correct cpu compile system based on TARGET_OS
#if TARGET_OS_IOS
#if TARGET_OS_IOS || TARGET_OS_VISION
#include "../mlx/mlx/backend/common/compiled_nocpu.cpp"
#else
#include "../mlx/mlx/backend/common/compiled_cpu.cpp"
Expand Down

0 comments on commit f4b00d8

Please sign in to comment.