I am running MATLAB R2016B. My computer has two GPU's. My CUDA driver is up to date (8.0). I'd like to force my computer to only use one GPU, to enable MATLAB to access the other without the computer trying to borrow memory from it.
I realize turning off automatic graphics switching could force the MacBook to just use the Nvidia card, but MATLAB can't find the Intel iris GPU. When I enter
MATLAB finds the Nvidia GPU but not the Intel iris GPU. When I type
MATLAB says: Invalid CUDA device id: 2. Select a device id from the range 1:1. Please let me know of any suggestions!