diff options
| author | Tor Aamodt <[email protected]> | 2012-12-24 10:13:40 -0800 |
|---|---|---|
| committer | Andrew Boktor <[email protected]> | 2014-08-14 13:49:24 -0700 |
| commit | f2d7b79e26f8766a220ab07f8de3df603de9263c (patch) | |
| tree | ef386cca0816fa7695b2511d2a97acd43008ab2f /setup_environment | |
| parent | bf144db8307cf7e992d2898a2a54d17f873411fe (diff) | |
enable CUBIN parsing on Mac OS X
[git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 14882]
Diffstat (limited to 'setup_environment')
| -rw-r--r-- | setup_environment | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/setup_environment b/setup_environment index 8298965..99441e1 100644 --- a/setup_environment +++ b/setup_environment @@ -72,11 +72,12 @@ fi # against instead of the CUDA toolkit. This replaces this cumbersome # static link setup in prior GPGPU-Sim releases. if [ `uname` = "Darwin" ]; then - export LD_LIBRARY_PATH=`echo $LD_LIBRARY_PATH | sed -Ee 's/.*gpgpu_sim.*(release|debug)://'` + export DYLD_LIBRARY_PATH=`echo $DYLD_LIBRARY_PATH | sed -Ee 's/.*gpgpu_sim.*(release|debug)://'` + export DYLD_LIBRARY_PATH=$GPGPUSIM_ROOT/lib/$GPGPUSIM_CONFIG:$DYLD_LIBRARY_PATH else export LD_LIBRARY_PATH=`echo $LD_LIBRARY_PATH | sed -re 's/.*gpgpu_sim.*(release|debug)://'` + export LD_LIBRARY_PATH=$GPGPUSIM_ROOT/lib/$GPGPUSIM_CONFIG:$LD_LIBRARY_PATH fi -export LD_LIBRARY_PATH=$GPGPUSIM_ROOT/lib/$GPGPUSIM_CONFIG:$LD_LIBRARY_PATH # The following sets OPENCL_REMOTE_GPU_HOST which is used by GPGPU-Sim to |
