mirror of
https://github.com/PacktPublishing/Hands-On-GPU-Programming-with-CUDA-C-and-Python-3.x-Second-Edition.git
synced 2025-07-21 21:01:06 +02:00
Create launch-python-cuda-environment.bat
This commit is contained in:
8
Chapter02/launch-python-cuda-environment.bat
Normal file
8
Chapter02/launch-python-cuda-environment.bat
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
REM This batch script will set up an appropriate Python environment for CUDA GPU programming under Windows.
|
||||||
|
REM The last line launches a CMD prompt. This can be any environment however.
|
||||||
|
REM If you wish to use an IDE such as Spyder or Jupyter Notebook, just change the last line to "spyder"
|
||||||
|
REM or "jupyter-notebook".
|
||||||
|
|
||||||
|
call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" amd64
|
||||||
|
call "C:\Users\%username%\Anaconda3\Scripts\activate.bat" C:\Users\%username%\Anaconda3
|
||||||
|
cmd
|
Reference in New Issue
Block a user