summaryrefslogtreecommitdiff
path: root/setup_environment
diff options
context:
space:
mode:
authorJRPan <[email protected]>2022-02-07 13:59:57 -0500
committerGitHub <[email protected]>2022-02-07 13:59:57 -0500
commite466afb0391c6644406ec1d02fc8d06082cb3ca7 (patch)
tree4dc221c1e39b604884bdd21e46f5147c0590da9c /setup_environment
parent921835274eb67dbe30a5bbb86d7e19028713dd2a (diff)
parent011891abfae060903f76d5c7aee23208cd295e71 (diff)
Merge pull request #27 from JRPan/accelwattach-dev
Merge AccelWattach
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.";