-
-
Save abbaswasim/4e1d9a2a49c824abfd0fed7934ea3847 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