title: Can you Program/Test CUDA in a Virtual Machine?
body: <p>I ask this as a programming and environment question. Can you test/program CUDA within a virtual machine accessing the physical GPU card?</p>
  
  <p>I am buying a new (really nice system) to, in part, experiment with basic CUDA programming. The processor will be an Intel i7-4770 which supports VT-d (direct IO pass-through) OR a i7-4770K which does not. Will the VT-d support allow access to the GPU card from the VMs? (I have looked at Intel, motherboard mfg. sites, and docs on VMs but did not see an answer to this question.)</p>
  
  <p>I plan to run Linux as my base operating system on the new development box with virtual machines (probably via QEMU/KVM) to test the software in other environments such as Windows and Mac OS. I other words, I would do the major development on the Linux box and then need to test on a virtual machine running on the same box.</p>
  
  <p>But, will the VM OSs be able to access the GPU card for testing/development?</p>
  
  <p>[First asked July 2013]</p>