summaryrefslogtreecommitdiff
path: root/setup_environment
diff options
context:
space:
mode:
authorTor Aamodt <[email protected]>2021-10-17 19:29:19 -0700
committerGitHub <[email protected]>2021-10-17 19:29:19 -0700
commit6b244a5d3be7811f16c312905c1c7fee137ac7a4 (patch)
treee82f15238e79a03f3cc2435d4f9bb48d5023e8ae /setup_environment
parentda0aef2e38148fb4da2d078de793159b786aee2d (diff)
parent84c6cf45131e42b1a724ebf7977987a9ddb70db9 (diff)
Merge pull request #237 from VijayKandiah/dev
AccelWattch v1.0 Integration into Dev
Diffstat (limited to 'setup_environment')
-rw-r--r--setup_environment14
1 files changed, 7 insertions, 7 deletions
diff --git a/setup_environment b/setup_environment
index 07d0788..d3ff840 100644
--- a/setup_environment
+++ b/setup_environment
@@ -117,18 +117,18 @@ fi
# The following checks to see if the GPGPU-Sim power model is enabled.
# GPGPUSIM_POWER_MODEL points to the directory where gpgpusim_mcpat is located.
-# If this is not set, it checks the default directory "$GPGPUSIM_ROOT/src/gpuwattch/".
-if [ -d $GPGPUSIM_ROOT/src/gpuwattch/ ]; then
- if [ ! -f $GPGPUSIM_ROOT/src/gpuwattch/gpgpu_sim.verify ]; then
- echo "ERROR ** gpgpu_sim.verify not found in $GPGPUSIM_ROOT/src/gpuwattch";
+# If this is not set, it checks the default directory "$GPGPUSIM_ROOT/src/accelwattch/".
+if [ -d $GPGPUSIM_ROOT/src/accelwattch/ ]; then
+ if [ ! -f $GPGPUSIM_ROOT/src/accelwattch/gpgpu_sim.verify ]; then
+ echo "ERROR ** gpgpu_sim.verify not found in $GPGPUSIM_ROOT/src/accelwattch";
return;
fi
- export GPGPUSIM_POWER_MODEL=$GPGPUSIM_ROOT/src/gpuwattch/;
- echo "configured with GPUWattch.";
+ export GPGPUSIM_POWER_MODEL=$GPGPUSIM_ROOT/src/accelwattch/;
+ echo "configured with AccelWattch.";
elif [ -n "$GPGPUSIM_POWER_MODEL" ]; then
if [ ! -f $GPGPUSIM_POWER_MODEL/gpgpu_sim.verify ]; then
echo "";
- echo "ERROR ** gpgpu_sim.verify not found in $GPGPUSIM_ROOT/src/gpuwattch/ - Either incorrect directory or incorrect McPAT version";
+ echo "ERROR ** gpgpu_sim.verify not found in $GPGPUSIM_ROOT/src/accelwattch/ - Either incorrect directory or incorrect McPAT version";
return;
fi
echo "configure with power model in $GPGPUSIM_POWER_MODEL.";