Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ Build and run unit tests and benchmark
--------------------------------------

* Install Xcode Command Line Tools
* Install Eigen with `brew install eigen` (you will need Homebrew)
* Run the following commands in Terminal

```bash
Expand Down
3 changes: 2 additions & 1 deletion test/Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
METAL_CPP_DIR = ../metal-cpp_macOS14.2_iOS17.2
HOMEBREW_INC = /opt/homebrew/include

CXX = clang++
CXXFLAGS = -std=c++20 -O2 -I$(METAL_CPP_DIR) -I../include -framework Foundation -framework Metal -framework MetalKit
CXXFLAGS = -std=c++20 -O2 -I$(METAL_CPP_DIR) -I$(HOMEBREW_INC) -I../include -framework Foundation -framework Metal -framework MetalKit

INC = ../include/metal.h ../include/array.h ../include/mtlcpp.h

Expand Down