Last active
September 16, 2022 18:06
-
-
Save giraphics/38c633af457034af0a9aaa4c76256efc to your computer and use it in GitHub Desktop.
Enabling Metal Validation Layer through command line application
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment