diff options
Diffstat (limited to 'README')
| -rw-r--r-- | README | 12 |
1 files changed, 8 insertions, 4 deletions
@@ -180,11 +180,15 @@ file to "1" (Note: you need CUDA version 4.0 or higher). Now To run a CUDA application on the simulator, simply execute source setup_environment <build_type> - + Use the same <build_type> you used while building the simulator. Then just -launch the executable as you would if it was to run on the hardware. To revert -back to running on the hardware, remove GPGPU-Sim from your LD_LIBRARY_PATH -environment variable. +launch the executable as you would if it was to run on the hardware. By +running "source setup_environment <build_type>" you change your LD_LIBRARY_PATH +to point to GPGPU-Sim's instead of CUDA or OpenCL runtime so that you do NOT +need to re-compile your application simply to run it on GPGPU-Sim. + +To revert back to running on the hardware, remove GPGPU-Sim from your +LD_LIBRARY_PATH environment variable. Running OpenCL applications is identical to running CUDA applications. However, OpenCL applications need to communicate with the NVIDIA driver in order to |
