Skip to content

Commit 3daf2cd

Browse files
committed
GPA 2.23 release
1 parent 7bd9c60 commit 3daf2cd

File tree

171 files changed

+158190
-1202
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

171 files changed

+158190
-1202
lines changed

.gitignore

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
*.userprefs
1212

1313
# Build results
14+
[Oo]utput/
1415
[Dd]ebug/
1516
!Common/Lib/**/[Dd]ebug
1617
[Dd]ebugPublic/
@@ -244,3 +245,10 @@ FakesAssemblies/
244245
**/*.Server/GeneratedArtifacts
245246
**/*.Server/ModelManifest.xml
246247
_Pvt_Extensions
248+
249+
# Linux unit test output
250+
Build/Linux/GPUPerfAPIUnitTests*.xml
251+
Src/GPUPerfAPIUnitTests/GPUPerfAPIUnitTests
252+
Src/GPUPerfAPIUnitTests/GPUPerfAPIUnitTests32
253+
Src/GPUPerfAPIUnitTests/GPUPerfAPIUnitTests-Internal
254+
Src/GPUPerfAPIUnitTests/GPUPerfAPIUnitTests32-Internal

BUILD.md

Lines changed: 25 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ order to clone/update any dependent repositories.
1515

1616
#### Instructions
1717
* Simply execute the [UpdateCommon.py](Scripts/UpdateCommon.py) python script located in the [Scripts](Scripts) directory:
18-
* __python Scripts/UpdateCommon.py__
18+
* `python Scripts/UpdateCommon.py`
1919
This script will clone any dependent repositories that are not present on the system. If any of the dependent repositories are already
2020
present on the system, this script will instead do a "git pull" on those repositories to ensure that they are up to date. Please re-run
2121
this script everytime you pull new changes from GPA repository.
@@ -30,7 +30,7 @@ this script everytime you pull new changes from GPA repository.
3030
##### Build Instructions
3131
* Load Build\VS2015\GPUPerfAPI.sln into Visual Studio
3232
* Build the 64-bit and/or 32-bit configuration
33-
* After a successful build, the GPUPerfAPI binaries can be found in __GPA\Output\\$(Configuration)\bin__ (for example GPA\Output\Release\bin)
33+
* After a successful build, the GPUPerfAPI binaries can be found in `GPA\Output\\$(Configuration)\bin` (for example GPA\Output\Release\bin)
3434

3535
#### Additional Information
3636
* The Visual Studio solution includes a Documentation project that allows you to generate the HTML-based source code documentation using Doxygen. In order
@@ -47,31 +47,33 @@ this script everytime you pull new changes from GPA repository.
4747

4848
##### Build Instructions
4949
* cd into the Build\Linux directory
50-
* Execute __./build.sh__
50+
* Execute `./build.sh`
5151
* By default this performs a from-scratch build of the release versions of GPUPerfAPI, both 32-bit and 64-bit binaries.
5252
* The following arguments can be passed to build.sh to alter the build:
53-
* __debug__: performs a debug build
54-
* __skip32bitbuild__: skips building the 32-bit binaries
55-
* __skipopengl__: skips building the OpenGL version of GPUPerfAPI
56-
* __skipopengles__: skips building the OpenGLES version of GPUPerfAPI
57-
* __skipopencl__: skips building the OpenCL version of GPUPerfAPI
58-
* __skiphsa__: skips building the ROCm/HSA version of GPUPerfAPI
59-
* __quick__ or __incremental__: performs an incremental build (as opposed to a from-scratch build)
60-
* __buildinternal__: builds the internal versions of GPUPerfAPI
61-
* __hsadir__: overrides the location of the ROCm/HSA header files (by default they are expected to be in /opt/rocm/hsa)
53+
* `debug`: performs a debug build
54+
* `skip32buildbuild`: skips building the 32-bit binaries
55+
* `skipopengl`: skips building the OpenGL version of GPUPerfAPI
56+
* `skipopengles`: skips building the OpenGLES version of GPUPerfAPI
57+
* `skipopencl`: skips building the OpenCL version of GPUPerfAPI
58+
* `skiphsa`: skips building the ROCm/HSA version of GPUPerfAPI
59+
* `quick` or `incremental`: performs an incremental build (as opposed to a from-scratch build)
60+
* `buildinternal`: builds the internal versions of GPUPerfAPI
61+
* `hsadir`: overrides the location of the ROCm/HSA header files (by default they are expected to be in /opt/rocm/hsa)
62+
* `gtestlibdir`: overrides the location of the GoogleTest libraries (by default they are expected to be in Common/Lib/Ext/GoogleTest/1-7/lib/gcc5/x64. There is also a gcc4.x-compatible version in Common/Lib/Ext/GoogleTest/1-7/lib/x64 for use when building on a system with gcc 4.x)
63+
* `gtestlibdir32`: overrides the location of the 32-bit GoogleTest libraries (by default they are expected to be in Common/Lib/Ext/GoogleTest/1-7/lib/gcc5/x86. There is also a gcc4.x-compatible version in Common/Lib/Ext/GoogleTest/1-7/lib/x86 for use when building on a system with gcc 4.x)
6264
* After a successful build, the GPUPerfAPI binaries can be found in their respective source file directories. For instance, the binaries for the OpenGL version of GPUPerfAPI (libGPUPerfAPIGL.so) can be found in the Src/GPUPerfAPIGL subdirectory.
6365
* Example build command line (builds the debug versions of the binaries, skipping the HSA library):
6466
* ./build.sh debug skiphsa
65-
* In addition to using the build.sh build script to build all of GPUPerfAPI, you can also build a single API library by executing __make__ in that library's directory. This is useful when making localized changes in a single version of GPUPerfAPI. When using __make__, the following default targets are supported:
66-
* __\<default\>__: makes the 64-bit release version
67-
* __x86__: makes the 32-bit release version
68-
* __Dbg__: makes the 64-bit debug version
69-
* __Dbgx86__: makes the 32-bit debug version
70-
* __Internal__: makes the 64-bit release Internal version
71-
* __Internalx86__: makes the 32-bit release Internal version
72-
* __DbgInternal__: makes the 64-bit debug Internal version
73-
* __DbgInternalx86__: makes the 32-bit debug Internal version
74-
* __Make__ is supported in the following directories (those marked with (*) are required to be built before the others, as they produce static libraries used by the others):
67+
* In addition to using the build.sh build script to build all of GPUPerfAPI, you can also build a single API library by executing `make` in that library's directory. This is useful when making localized changes in a single version of GPUPerfAPI. When using `make`, the following default targets are supported:
68+
* `\<default\>`: makes the 64-bit release version
69+
* `x86`: makes the 32-bit release version
70+
* `Dbg`: makes the 64-bit debug version
71+
* `Dbgx86`: makes the 32-bit debug version
72+
* `Internal`: makes the 64-bit release Internal version
73+
* `Internalx86`: makes the 32-bit release Internal version
74+
* `DbgInternal`: makes the 64-bit debug Internal version
75+
* `DbgInternalx86`: makes the 32-bit debug Internal version
76+
* `Make` is supported in the following directories (those marked with (*) are required to be built before the others, as they produce static libraries used by the others):
7577
* DeviceInfo (*)
7678
* GPUPerfAPI-Common (*)
7779
* GPUPerfAPICounterGenerator (*)
@@ -80,7 +82,7 @@ this script everytime you pull new changes from GPA repository.
8082
* GPUPerfAPIGL
8183
* GPUPerfAPIGLES
8284
* GPUPerfAPIHSA
83-
* When using __make__ to build the ROCM/HSA version of GPUPerfAPI, by default the HSA headers are expected to be in /opt/rocm/hsa. You can override this by specifying "HSA_DIR=<dir>" on the make command line:
85+
* When using `make` to build the ROCM/HSA version of GPUPerfAPI, by default the HSA headers are expected to be in /opt/rocm/hsa. You can override this by specifying "HSA_DIR=<dir>" on the make command line:
8486
* Example: make Dbg HSA_DIR=/home/user/hsa_dir
8587
* When building the internal version, each binary filename will also have a "-Internal" suffix (for example libGPUPerfAPIGL-Internal.so)
8688

Build/Linux/Common.mk

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,15 +23,17 @@ OBJ_DIR = $(BASE_OBJDIR)/$(DEBUG_RELEASE)$(INTERNAL_PUBLIC)/$(PLATFORM_DIR)
2323
# Build defines
2424
BASE_DEFINES = -D_LINUX -DUSE_POINTER_SINGLETON
2525
ADDL_DEFINES =
26+
ADDITIONAL_COMPILER_DEFINES_FROM_BUILD_SCRIPT =
2627
BUILD_DEFINES = -DAMDT_PUBLIC -DAMDT_BUILD_SUFFIX=\"\"
2728
PLATFORM_DEFINES = -DAMDT_PLATFORM_SUFFIX=\"\"
2829
DEBUG_DEFINES = -DAMDT_DEBUG_SUFFIX=\"\"
29-
DEFINES = $(BASE_DEFINES) $(BUILD_DEFINES) $(PLATFORM_DEFINES) $(DEBUG_DEFINES) $(ADDL_DEFINES)
30+
DEFINES = $(BASE_DEFINES) $(BUILD_DEFINES) $(PLATFORM_DEFINES) $(DEBUG_DEFINES) $(ADDL_DEFINES) $(ADDITIONAL_COMPILER_DEFINES_FROM_BUILD_SCRIPT)
3031

3132
GPASRC_DIR=$(DEPTH)/Src
3233
GPACG_DIR = $(GPASRC_DIR)/GPUPerfAPICounterGenerator
3334
GPACOMMON_DIR = $(GPASRC_DIR)/GPUPerfAPI-Common
3435
GPADEVICEINFO_DIR = $(GPASRC_DIR)/DeviceInfo
36+
GPACOUNTERS_DIR = $(GPASRC_DIR)/GPUPerfAPICounters
3537

3638
COMMON_DIR = $(DEPTH)/../Common
3739
COMMON_SRC = $(COMMON_DIR)/Src
@@ -43,14 +45,17 @@ GPUPERFAPIUTILS_DIR = $(COMMON_SRC)/GPUPerfAPIUtils
4345
ADL_DIR = $(COMMON_DIR)/Lib/AMD/ADL
4446
ADLUTIL_DIR = $(COMMON_DIR)/Src/ADLUtil
4547
AMDTMUTEX_DIR = $(COMMON_DIR)/Src/AMDTMutex
46-
BOOST = $(COMMON_DIR)/Lib/Ext/Boost/boost_1_59_0
4748
TSINGLETON_DIR = $(COMMON_SRC)/TSingleton
4849
DYNAMICLIBRARYMODULE_DIR = $(COMMON_SRC)/DynamicLibraryModule
49-
GTEST_DIR = $(COMMON_DIR)/Lib/Ext/GoogleTest/1-7
50-
GL_DIR = $(COMMON_DIR)/Lib/Ext/OpenGL
51-
GLES_DIR = $(COMMON_DIR)/Lib/Ext/OpenGLES
52-
GLEW_DIR = $(COMMON_DIR)/Lib/Ext/glew/1.9.0
50+
COMMON_LIB_EXT=$(COMMON_DIR)/Lib/Ext
51+
GTEST_DIR = $(COMMON_LIB_EXT)/GoogleTest/1-7
52+
GL_DIR = $(COMMON_LIB_EXT)/OpenGL
53+
GLES_DIR = $(COMMON_LIB_EXT)/OpenGLES
54+
GLEW_DIR = $(COMMON_LIB_EXT)/glew/1.9.0
5355
GLES_LIB_DIR = -L$(GLES_DIR)/Lib/$(GLES_PLATFORM_DIR)
56+
GTEST_DIR = $(COMMON_LIB_EXT)/GoogleTest/1-7
57+
GTEST_LIBS = $(GTEST_DIR)/lib/gcc5/x64/libgtest.a
58+
GTEST_LIBS32 = $(GTEST_DIR)/lib/gcc5/x86/libgtest.a
5459

5560
# Lib paths
5661
COMMON_LIB_PATHS = -L$(GPACOMMON_DIR) -L$(GPACG_DIR)
@@ -59,7 +64,7 @@ COMMON_LIBS = -lGPUPerfAPI-Common$(TARGET_SUFFIX) -lGPUPerfAPICounterGenerator$(
5964
STANDARD_LIBS = -ldl -lpthread
6065

6166
# Build target overrides
62-
X86_OVERRIDES = "PLATFORM_CFLAG = -m32 -msse2" "PLATFORM_LFLAG = -m32" "PLATFORM_DEFINES = -DX86 -DAMDT_PLATFORM_SUFFIX=\\\"32\\\"" "CODEXL_OUTPUT_DIR = Output_x86" "PLATFORM_DIR = x86" "GLES_PLATFORM_DIR = Linx86"
67+
X86_OVERRIDES = "PLATFORM_CFLAG = -m32 -msse2" "PLATFORM_LFLAG = -m32" "PLATFORM_DEFINES = -DX86 -DAMDT_PLATFORM_SUFFIX=\\\"32\\\"" "CODEXL_OUTPUT_DIR = Output_x86" "PLATFORM_DIR = x86" "GLES_PLATFORM_DIR = Linx86" "GTEST_LIBS = $(GTEST_LIBS32)"
6368
INTERNAL_OVERRIDES = "BUILD_DEFINES = -DAMDT_INTERNAL -DAMDT_BUILD_SUFFIX=\\\"-Internal\\\"" "INTERNAL_PUBLIC = _Internal"
6469
DEBUG_OVERRIDES = "OPTIMIZE = $(DEBUG_CFLAGS)" "DEBUG_RELEASE = debug" "DEBUG_DEFINES = -DAMDT_DEBUG_SUFFIX=\\\"-d\\\""
6570

Build/Linux/CommonTargets.mk

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,19 @@ default: $(TARGET) $(TARGETSO) $(TARGETLIB)
22

33
# build targets
44
$(TARGET) : makedir $(OBJS)
5+
$(PRE_BUILD_ACTION)
56
$(CC) $(LINKFLAGS_EXE) $(PLATFORM_LFLAG) $(OBJS) $(LIBPATH) $(LIBS) -o $(TARGET) $(STATIC_LIBS)
7+
$(POST_BUILD_ACTION)
68

79
$(TARGETLIB) : makedir $(LIB_OBJS)
10+
$(PRE_BUILD_ACTION)
811
ar rcs $(TARGETLIB) $(LIB_OBJS)
12+
$(POST_BUILD_ACTION)
913

1014
$(TARGETSO) : makedir $(SO_OBJS)
15+
$(PRE_BUILD_ACTION)
1116
$(CC) $(LINKFLAGS_SO) $(PLATFORM_LFLAG) $(SO_OBJS) $(LIBPATH) $(LIBS) -o $(TARGETSO) $(STATIC_LIBS)
17+
$(POST_BUILD_ACTION)
1218

1319
x86:
1420
$(MAKE) -f $(MAKEFILENAME) $(BUILD_X86_OVERRIDES)

Build/Linux/build.sh

Lines changed: 53 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,21 @@ bBuildOpenGLES=true
3434
bBuildOpenCL=true
3535
bBuildHSA=true
3636

37+
# Tests build control
38+
bBuildTests=true
39+
3740
REL_ROOT=
3841
BUILD=0
3942

43+
# GoogleTest Lib directory override
44+
GTEST_LIB_DIR_OVERRIDE=
45+
46+
# GoogleTest 32-bit Lib directory override
47+
GTEST_LIB_DIR_OVERRIDE32=
48+
49+
# Additional compiler defines override
50+
ADDITIONAL_COMPILER_DEFINES_OVERRIDE="ADDITIONAL_COMPILER_DEFINES_FROM_BUILD_SCRIPT="
51+
4052
# Set build flag
4153
while [ "$*" != "" ]
4254
do
@@ -64,10 +76,21 @@ do
6476
bBuildOpenCL=false
6577
elif [ "$1" = "skiphsa" ]; then
6678
bBuildHSA=false
79+
elif [ "$1" = "skiptests" ]; then
80+
bBuildTests=false
6781
elif [ "$1" = "incremental" ]; then
6882
bIncrementalBuild=true
6983
elif [ "$1" = "quick" ]; then
7084
bIncrementalBuild=true
85+
elif [ "$1" = "gtestlibdir" ]; then
86+
shift
87+
GTEST_LIB_DIR_OVERRIDE="GTEST_LIBS=$1/libgtest.a"
88+
elif [ "$1" = "gtestlibdir32" ]; then
89+
shift
90+
GTEST_LIB_DIR_OVERRIDE32="GTEST_LIBS32=$1/libgtest.a"
91+
elif [ "$1" = "additionaldefines" ]; then
92+
shift
93+
ADDITIONAL_COMPILER_DEFINES_OVERRIDE="ADDITIONAL_COMPILER_DEFINES_FROM_BUILD_SCRIPT=$1"
7194
fi
7295
shift
7396
done
@@ -82,6 +105,7 @@ COUNTERS=$GPASRC/GPUPerfAPICounters
82105
COUNTERGENERATOR=$GPASRC/GPUPerfAPICounterGenerator
83106
GPA_COMMON=$GPASRC/GPUPerfAPI-Common
84107
GPA_DEVICEINFO=$GPASRC/DeviceInfo
108+
UNITTESTS=$GPASRC/GPUPerfAPIUnitTests
85109

86110
GLLIB=libGPUPerfAPIGL$DEBUG_SUFFIX.so
87111
GLESLIB=libGPUPerfAPIGLES$DEBUG_SUFFIX.so
@@ -117,6 +141,11 @@ COUNTERGENERATORLIB32_INTERNAL=libGPUPerfAPICounterGenerator32$DEBUG_SUFFIX-Inte
117141
GPA_COMMONLIB32_INTERNAL=libGPUPerfAPI-Common32$DEBUG_SUFFIX-Internal.a
118142
GPA_DEVICEINFOLIB32_INTERNAL=libDeviceInfo32$DEBUG_SUFFIX-Internal.a
119143

144+
UNITTEST=GPUPerfAPIUnitTests$DEBUG_SUFFIX
145+
UNITTEST32=GPUPerfAPIUnitTests32$DEBUG_SUFFIX
146+
UNITTEST_INTERNAL=GPUPerfAPIUnitTests$DEBUG_SUFFIX-Internal
147+
UNITTEST32_INTERNAL=GPUPerfAPIUnitTests32$DEBUG_SUFFIX-Internal
148+
120149
BUILD_DIR_BASE=$GPAROOT/Build
121150
BUILD_DIR=$BUILD_DIR_BASE/Linux
122151

@@ -148,6 +177,10 @@ if $bBuildHSA ; then
148177
BUILD_DIRS="$BUILD_DIRS $HSA"
149178
fi
150179

180+
if $bBuildTests ; then
181+
BUILD_DIRS="$BUILD_DIRS $UNITTESTS"
182+
fi
183+
151184
for SUBDIR in $BUILD_DIRS; do
152185
BASENAME=`basename $SUBDIR`
153186

@@ -159,14 +192,14 @@ for SUBDIR in $BUILD_DIRS; do
159192
#make 64 bit
160193
echo "Build ${BASENAME}, 64-bit..." | tee -a $LOGFILE
161194

162-
if ! make -C $SUBDIR -j$CPU_COUNT $HSA_DIR_OVERRIDE ${MAKE_TARGET} >> $LOGFILE 2>&1; then
195+
if ! make -C $SUBDIR -j$CPU_COUNT $HSA_DIR_OVERRIDE $GTEST_LIB_DIR_OVERRIDE "$ADDITIONAL_COMPILER_DEFINES_OVERRIDE" ${MAKE_TARGET} >> $LOGFILE 2>&1; then
163196
echo "Failed to build ${BASENAME}, 64 bit"
164197
exit 1
165198
fi
166199

167200
#make 64 bit Internal
168201
if $bBuildInternal ; then
169-
if ! make -C $SUBDIR -j$CPU_COUNT $HSA_DIR_OVERRIDE ${MAKE_TARGET}Internal >> $LOGFILE 2>&1; then
202+
if ! make -C $SUBDIR -j$CPU_COUNT $HSA_DIR_OVERRIDE $GTEST_LIB_DIR_OVERRIDE "$ADDITIONAL_COMPILER_DEFINES_OVERRIDE" ${MAKE_TARGET}Internal >> $LOGFILE 2>&1; then
170203
echo "Failed to build ${BASENAME}, 64 bit, Internal"
171204
exit 1
172205
fi
@@ -177,14 +210,14 @@ for SUBDIR in $BUILD_DIRS; do
177210
#make 32 bit
178211
echo "Build ${BASENAME}, 32-bit..." | tee -a $LOGFILE
179212

180-
if ! make -C $SUBDIR -j$CPU_COUNT $HSA_DIR_OVERRIDE ${MAKE_TARGET}x86 >> $LOGFILE 2>&1; then
213+
if ! make -C $SUBDIR -j$CPU_COUNT $HSA_DIR_OVERRIDE $GTEST_LIB_DIR_OVERRIDE32 "$ADDITIONAL_COMPILER_DEFINES_OVERRIDE" ${MAKE_TARGET}x86 >> $LOGFILE 2>&1; then
181214
echo "Failed to build ${BASENAME}, 32 bit"
182215
exit 1
183216
fi
184217

185218
#make 32 bit Internal
186219
if $bBuildInternal ; then
187-
if ! make -C $SUBDIR -j$CPU_COUNT $HSA_DIR_OVERRIDE ${MAKE_TARGET}Internalx86 >> $LOGFILE 2>&1; then
220+
if ! make -C $SUBDIR -j$CPU_COUNT $HSA_DIR_OVERRIDE $GTEST_LIB_DIR_OVERRIDE32 "$ADDITIONAL_COMPILER_DEFINES_OVERRIDE" ${MAKE_TARGET}Internalx86 >> $LOGFILE 2>&1; then
188221
echo "Failed to build ${BASENAME}, 32 bit, Internal"
189222
exit 1
190223
fi
@@ -261,4 +294,20 @@ if $bZip ; then
261294
fi
262295
fi
263296

297+
if $bBuildTests ; then
298+
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$UNITTESTS $UNITTESTS/$UNITTEST --gtest_output=xml:$UNITTEST.xml
299+
300+
if $b32bitbuild ; then
301+
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$UNITTESTS $UNITTESTS/$UNITTEST32 --gtest_output=xml:$UNITTEST32.xml
302+
fi
303+
304+
if $bBuildInternal ; then
305+
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$UNITTESTS $UNITTESTS/$UNITTEST_INTERNAL --gtest_output=xml:$UNITTEST_INTERNAL.xml
306+
307+
if $b32bitbuild ; then
308+
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$UNITTESTS $UNITTESTS/$UNITTEST32_INTERNAL --gtest_output=xml:$UNITTEST32_INTERNAL.xml
309+
fi
310+
fi
311+
fi
312+
264313
echo "Build Complete" | tee -a $LOGFILE

Build/VS2015/Documentation.vcxproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,9 @@
3636
<ItemGroup>
3737
<CustomBuild Include="../../Doc/DoxyfilePublic">
3838
<FileType>Document</FileType>
39-
<Message Condition="exists('../../../Common/DK/doxygen/doxygen-1.8.11/bin/doxygen.exe')">Generating Public Doxygen documentation</Message>
40-
<Command Condition="exists('../../../Common/DK/doxygen/doxygen-1.8.11/bin/doxygen.exe')">"../../../Common/DK/Doxygen/doxygen-1.8.11/bin/doxygen.exe" "%(FullPath)"</Command>
41-
<Outputs Condition="exists('../../../Common/DK/doxygen/doxygen-1.8.11/bin/doxygen.exe')">../../Doc/public\html\index.html;%(Outputs)</Outputs>
39+
<Message Condition="exists('c:\Program Files\doxygen\bin\doxygen.exe')">Generating Public Doxygen documentation</Message>
40+
<Command Condition="exists('C:\Program Files\doxygen\bin\doxygen.exe')">"c:\Program Files\doxygen\bin\doxygen.exe" "%(FullPath)"</Command>
41+
<Outputs Condition="exists('c:\Program Files\doxygen\bin\doxygen.exe')">../../Doc/public\html\index.html;%(Outputs)</Outputs>
4242
</CustomBuild>
4343
</ItemGroup>
4444
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />

Build/VS2015/GPA-Properties.props

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,11 @@
1111
</PropertyGroup>
1212
<ItemDefinitionGroup>
1313
<ClCompile>
14-
<AdditionalIncludeDirectories>$(GPUPerfAPIBaseDir)Src\GPUPerfAPI-Common\</AdditionalIncludeDirectories>
14+
<AdditionalIncludeDirectories>$(GPUPerfAPIBaseDir)Src\GPUPerfAPI-Common\;$(GPUPerfAPIBaseDir)Src\GPUPerfAPICounterGenerator;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
1515
</ClCompile>
16+
<ResourceCompile>
17+
<AdditionalIncludeDirectories>$(GPUPerfAPIBaseDir)Src\GPUPerfAPI-Common\;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
18+
</ResourceCompile>
1619
</ItemDefinitionGroup>
1720
<ItemGroup>
1821
<BuildMacro Include="BaseDir">

Build/VS2015/GPUPerfAPI-Common.vcxproj

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
<ClInclude Include="..\..\Src\GPUPerfAPI-Common\Adapter.h" />
2727
<ClInclude Include="..\..\Src\GPUPerfAPI-Common\APIRTModuleLoader.h" />
2828
<ClInclude Include="..\..\Src\GPUPerfAPI-Common\CircularBuffer.h" />
29+
<ClInclude Include="..\..\Src\GPUPerfAPI-Common\DXGetAMDDeviceInfo.h" />
2930
<ClInclude Include="..\..\Src\GPUPerfAPI-Common\GPAContextState.h" />
3031
<ClInclude Include="..\..\Src\GPUPerfAPI-Common\GPACounterDataRequestManager.h" />
3132
<ClInclude Include="..\..\Src\GPUPerfAPI-Common\GPACustomHWValidationManager.h" />
@@ -49,7 +50,9 @@
4950
<ItemGroup>
5051
<ClCompile Include="..\..\..\Common\Src\ADLUtil\ADLUtil.cpp" />
5152
<ClCompile Include="..\..\..\Common\Src\AMDTMutex\AMDTMutex.cpp" />
52-
<ClCompile Condition="'$(SolutionName)'=='GPUPerfAPI-Full'" Include="..\..\..\Common\Src\DeviceInfo-Internal\DeviceInfoInternal.cpp" />
53+
<ClCompile Condition="'$(SolutionName)'=='GPUPerfAPI-Full'" Include="..\..\..\Common\Src\DeviceInfo-Internal\DeviceInfoInternal.cpp">
54+
<ExcludedFromBuild Condition="'$(AMDT_BUILD)'!='AMDT_INTERNAL'">true</ExcludedFromBuild>
55+
</ClCompile>
5356
<ClCompile Include="..\..\..\Common\Src\DeviceInfo\DeviceInfoUtils.cpp" />
5457
<ClCompile Include="..\..\..\Common\Src\DynamicLibraryModule\DynamicLibraryModule.cpp" />
5558
<ClCompile Include="..\..\..\Common\Src\GPUPerfAPIUtils\GPUPerfAPIRegistry.cpp" />

Build/VS2015/GPUPerfAPI-Common.vcxproj.filters

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,9 @@
9494
<ClInclude Include="..\..\Src\GPUPerfAPI-Common\GPAVersion.h">
9595
<Filter>Source Files</Filter>
9696
</ClInclude>
97+
<ClInclude Include="..\..\Src\GPUPerfAPI-Common\DXGetAMDDeviceInfo.h">
98+
<Filter>Source Files</Filter>
99+
</ClInclude>
97100
</ItemGroup>
98101
<ItemGroup>
99102
<ClCompile Include="..\..\Src\GPUPerfAPI-Common\GPAContextState.cpp">

0 commit comments

Comments
 (0)