Skip to content

Instantly share code, notes, and snippets.

View TheSpydog's full-sized avatar

Caleb Cornett TheSpydog

View GitHub Profile
@giraphics
giraphics / run.sh
Last active September 16, 2022 18:06
Enabling Metal Validation Layer through command line application
# Enable Metal validation layer: 0FF-0, ON-1
export METAL_DEVICE_WRAPPER_TYPE=1
export METAL_ERROR_MODE=5
export METAL_DEBUG_ERROR_MODE=5
# Clean and make
make clean && make
# Execute
./YourExecutableName