-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
433 changed files
with
65,389 additions
and
47,691 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,3 +4,9 @@ Build/Linux | |
Output | ||
.vscode | ||
Output_Test | ||
*.vs | ||
BuildOutput | ||
Documentation/build | ||
*.csproj.user | ||
obj | ||
bin |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
#!/bin/bash | ||
|
||
# ---------------------------------------------------------------------------------------------------------------------------------- | ||
# This script launches the rga GUI executable after configuring the environment. | ||
# (c) 2017-2020 Advanced Micro Devices Inc. All Rights Reserved. | ||
# ---------------------------------------------------------------------------------------------------------------------------------- | ||
|
||
if echo "$0" | grep '^/' ; then | ||
thisScriptFullPath="$0" | ||
else | ||
thisScriptFullPath=`pwd`/$0 | ||
fi | ||
|
||
# Use the amdgpu-pro driver Vulkan ICD files | ||
if [ -d /opt/amdgpu-pro/etc/vulkan/icd.d ] | ||
then | ||
export VK_ICD_FILENAMES=/opt/amdgpu-pro/etc/vulkan/icd.d/amd_icd64.json | ||
fi | ||
|
||
RGA_GUI_BIN_PATH=`dirname "$thisScriptFullPath"` | ||
|
||
# Add RGA's bin and lib directories to LD_LIBRARY_PATH: | ||
export LD_LIBRARY_PATH="$RGA_GUI_BIN_PATH":"$RGA_GUI_BIN_PATH/lib":"$RGA_BIN_PATH/utils":$LD_LIBRARY_PATH | ||
|
||
# Add RGA/utils folder to PATH: | ||
export PATH="$RGA_GUI_BIN_PATH":"$RGA_GUI_BIN_PATH/utils":$PATH | ||
|
||
# Set path to the Qt platform plugin. | ||
export QT_QPA_PLATFORM_PLUGIN_PATH="$RGA_GUI_BIN_PATH/lib/platforms" | ||
|
||
# Call RGA GUI executable | ||
"$RGA_GUI_BIN_PATH"/RadeonGPUAnalyzer-bin "$@" |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,48 +1,42 @@ | ||
|
||
set -e | ||
OUTPUT_DIR=$1 | ||
QT_LIB_DIR=$2 | ||
QT_PLUGINS_DIR=$3 | ||
AUTOMATION=$4 | ||
|
||
# Copy the Qt5 dynamic libs | ||
if [ -n "$QT_LIB_DIR" ]; then | ||
if [ ! -d "$OUTPUT_DIR/Qt" ]; then | ||
mkdir $OUTPUT_DIR/Qt | ||
fi | ||
if [ ! -d "$OUTPUT_DIR/Qt/platforms" ]; then | ||
mkdir $OUTPUT_DIR/Qt/platforms | ||
fi | ||
if [ ! -d "$OUTPUT_DIR/Qt/platforms/imageformats" ]; then | ||
mkdir $OUTPUT_DIR/Qt/platforms/imageformats | ||
if [ ! -d "$OUTPUT_DIR/lib/platforms/imageformats" ]; then | ||
mkdir -p $OUTPUT_DIR/lib/platforms/imageformats | ||
fi | ||
cp -d $QT_LIB_DIR/libQt5Core.so* $OUTPUT_DIR/Qt/ | ||
cp -d $QT_LIB_DIR/libQt5DBus.so* $OUTPUT_DIR/Qt/ | ||
cp -d $QT_LIB_DIR/libQt5Gui.so* $OUTPUT_DIR/Qt/ | ||
cp -d $QT_LIB_DIR/libQt5Widgets.so* $OUTPUT_DIR/Qt/ | ||
cp -d $QT_LIB_DIR/libQt5XcbQpa.so* $OUTPUT_DIR/Qt/ | ||
cp -d $QT_LIB_DIR/libicui18n.so* $OUTPUT_DIR/Qt/ | ||
cp -d $QT_LIB_DIR/libicudata.so* $OUTPUT_DIR/Qt/ | ||
cp -d $QT_LIB_DIR/libicuuc.so* $OUTPUT_DIR/Qt/ | ||
cp -d $QT_LIB_DIR/libQt5Svg.so.* $OUTPUT_DIR/Qt/ | ||
cp -d $QT_PLUGINS_DIR/imageformats/libqsvg.so $OUTPUT_DIR/Qt/platforms/imageformats | ||
cp -d $QT_PLUGINS_DIR/platforms/libqxcb.so $OUTPUT_DIR/Qt/platforms | ||
cp $QT_LIB_DIR/libQt5Core.so.5 $OUTPUT_DIR/lib/ | ||
cp $QT_LIB_DIR/libQt5DBus.so.5 $OUTPUT_DIR/lib/ | ||
cp $QT_LIB_DIR/libQt5Gui.so.5 $OUTPUT_DIR/lib/ | ||
cp $QT_LIB_DIR/libQt5Widgets.so.5 $OUTPUT_DIR/lib/ | ||
cp $QT_LIB_DIR/libQt5XcbQpa.so.5 $OUTPUT_DIR/lib/ | ||
cp $QT_LIB_DIR/libicui18n.so.56 $OUTPUT_DIR/lib/ | ||
cp $QT_LIB_DIR/libicudata.so.56 $OUTPUT_DIR/lib/ | ||
cp $QT_LIB_DIR/libicuuc.so.56 $OUTPUT_DIR/lib/ | ||
cp $QT_LIB_DIR/libQt5Svg.so.5 $OUTPUT_DIR/lib/ | ||
cp $QT_PLUGINS_DIR/imageformats/libqsvg.so $OUTPUT_DIR/lib/platforms/imageformats/ | ||
cp $QT_PLUGINS_DIR/platforms/libqxcb.so $OUTPUT_DIR/lib/platforms/ | ||
if [ "$AUTOMATION" = "-automation" ]; then | ||
cp -d $QT_LIB_DIR/libQt5Test.so* $OUTPUT_DIR/Qt/ | ||
cp $QT_LIB_DIR/libQt5Test.so.5 $OUTPUT_DIR/lib/ | ||
fi | ||
fi | ||
|
||
# Copy the GUI launch script. | ||
cp ./RadeonGPUAnalyzerGUI $OUTPUT_DIR/ | ||
chmod +x $OUTPUT_DIR/RadeonGPUAnalyzerGUI | ||
cp ./RadeonGPUAnalyzer $OUTPUT_DIR/ | ||
chmod +x $OUTPUT_DIR/RadeonGPUAnalyzer | ||
|
||
# Copy the automation files/folders. | ||
if [ "$AUTOMATION" = "-automation" ]; then | ||
cp -rf ../../../../RGA-Internal/Tests/data $OUTPUT_DIR/ | ||
cp ../../../../RGA-Internal/Tests-GUI/run.py $OUTPUT_DIR/ | ||
cp -rf ../../../../RGA-Internal/tests/data $OUTPUT_DIR/ | ||
cp ../../../../RGA-Internal/tests_gui/run.py $OUTPUT_DIR/ | ||
chmod +x $OUTPUT_DIR/run.py | ||
fi | ||
|
||
# Copy the AMDToolsDownloader. | ||
cp ../../../../Common/Src/UpdateCheckAPI/AMDToolsDownloader/Linux/AMDToolsDownloader $OUTPUT_DIR/ | ||
chmod +x $OUTPUT_DIR/AMDToolsDownloader | ||
# Copy the Radeon Tools Download Assistant. | ||
cp ../../../../Common/Src/UpdateCheckAPI/rtda/linux/rtda $OUTPUT_DIR/ | ||
chmod +x $OUTPUT_DIR/rtda | ||
|
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.