configs: Change env defaults in apu_se.py for ROCm
authorKyle Roarty <kyleroarty1716@gmail.com>
Fri, 24 May 2019 18:40:04 +0000 (13:40 -0500)
committerMatt Sinclair <mattdsinclair@gmail.com>
Wed, 29 Jul 2020 18:15:20 +0000 (18:15 +0000)
commit42281171eae0a451429be34d56677a756316b306
tree6b474bd40c5538eae268467760801e597ea81d69
parent433546a88fff08a232d32cc4cc04f4948b1b41eb
configs: Change env defaults in apu_se.py for ROCm

This change simplifies the setup process for running
ROCm-based programs by adding the libraries that are
needed to LD_LIBRARY_PATH by default, using
preexisting environment variables that should be set
on the host.

HOME also gets set, as MIOpen-based programs can fail
without it set.

Change-Id: Ic599674babeaebb52de8a55981d04454cdc96cd8
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/30275
Tested-by: kokoro <noreply+kokoro@google.com>
Reviewed-by: Matt Sinclair <mattdsinclair@gmail.com>
Reviewed-by: Anthony Gutierrez <anthony.gutierrez@amd.com>
Reviewed-by: Bradford Beckmann <brad.beckmann@amd.com>
Maintainer: Anthony Gutierrez <anthony.gutierrez@amd.com>
Maintainer: Jason Lowe-Power <power.jg@gmail.com>
configs/example/apu_se.py