Skip to content

Commit 339e0cc

Browse files
committed
GPA 3.1 release
1 parent de5312a commit 339e0cc

File tree

409 files changed

+30663
-23348
lines changed

Some content is hidden

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

409 files changed

+30663
-23348
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ artifacts/
7676
*.pidb
7777
*.svclog
7878
*.scc
79+
*.dll
7980

8081
# Chutzpah Test files
8182
_Chutzpah*

BUILD.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,17 +22,18 @@ present on the system, this script will instead do a "git pull" on those reposit
2222
this script everytime you pull new changes from GPA repository.
2323
* This script will also download and execute the Vulkan™ SDK installer.
2424
* On Windows, running the installer may require elevation. If you've previously installed the required Vulkan version, UpdateCommon will simply copy the files form the default installation location into the correct place into the GPUPerfAPI directory tree.
25-
* UpdateCommon is set up to install the version of the Vulkan SDK which was used during development. If you want to use a newer version of the SDK, the following files will need to be updated:
25+
* UpdateCommon is set up to install the version of the Vulkan SDK which was used during development. If you want to use a newer version of the SDK, the following file will need to be updated:
2626
* [UpdateCommonMap.py](Scripts/UpdateCommonMap.py)
27-
* Linux-specific: [Common.mk](GPA/Build/Linux/Common.mk)
28-
* Windows-specific: Common/Lib/Ext/Global-Vulkan.props
27+
* By default the build will expect the Vulkan SDK to be found in a directory pointed to by the `VULKAN_SDK` environment variable. This environment variable is automatically set by the Windows SDK installer, but you may need to set it manually after running the Linux SDK installer. The Linux SDK includes a script called `setup-env.sh` to aid in setting this environment variable:
28+
* `source ~/VulkanSDK/1.0.68.0/setup-env.sh` (adjust path as necessary)
2929

3030
## Windows Build Information
3131

3232
##### Prerequisites
3333
* Microsoft Visual Studio 2015 Community Edition or higher + Update 3
3434
* Windows 10 SDK Version 10.0.10586.0 from https://developer.microsoft.com/en-US/windows/downloads/windows-10-sdk
3535
* You can override the version of the Windows 10 SDK used by modifying Common/Lib/Ext/Windows-Kits/Global-WindowsSDK.props
36+
* Microsoft .NET 4.6.2 SDK from https://www.microsoft.com/en-us/download/details.aspx?id=53321
3637

3738
##### Build Instructions
3839
* Load Build\VS2015\GPUPerfAPI.sln into Visual Studio
@@ -73,6 +74,7 @@ this script everytime you pull new changes from GPA repository.
7374
* `hsadir`: overrides the location of the ROCm/HSA header files (by default they are expected to be in /opt/rocm/hsa)
7475
* `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)
7576
* `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)
77+
* `vksdkdir`: overrides the location of the Vulkan SDK. If not specified, the build will use a `VULKAN_SDK` environment variable to determine where to look for the Vulkan SDK.
7678
* After a successful build, the GPUPerfAPI binaries can be found in Output/bin.
7779
* Example build command line (builds the debug versions of the binaries, skipping the HSA library):
7880
* ./build.sh debug skiphsa

Build/Linux/Common.mk

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,9 @@ GL_DIR = $(COMMON_LIB_EXT)/OpenGL
5656
GTEST_DIR = $(COMMON_LIB_EXT)/GoogleTest/1-7
5757
GTEST_LIBS = $(GTEST_DIR)/lib/gcc5/x64/libgtest.a
5858
GTEST_LIBS32 = $(GTEST_DIR)/lib/gcc5/x86/libgtest.a
59-
VK_SDK_DIR = $(COMMON_LIB_EXT)/Vulkan/VulkanSDK/1.0.49.0/x86_64
59+
VK_SDK_DIR = $(VULKAN_SDK)
6060
VK_INCLUDE_DIR = $(VK_SDK_DIR)/include
61+
VK_LIB_DIR = $(VK_SDK_DIR)/lib
6162
AMD_VK_EXT_DIR = $(COMMON_SRC)/AmdVkExt
6263

6364
# Lib paths

Build/Linux/build.sh

Lines changed: 62 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,6 @@ set -u
44
#define path
55
GPAROOT=`dirname $(readlink -f "$0")`/../..
66

7-
# clean up old folders
8-
rm -rf $GPAROOT/Output/*
9-
107
# Command line args
118

129
# Generate internal build
@@ -32,8 +29,11 @@ DEBUG_SUFFIX=
3229
# HSA directory override
3330
HSA_DIR_OVERRIDE=
3431

35-
# Vulkan include directory override
36-
VK_INC_DIR_OVERRIDE=
32+
# Vulkan SDK directory override
33+
VK_SDK_DIR_OVERRIDE=
34+
35+
# VUlkan SDK Override path
36+
VULKAN_SDK_OVERRIDE=
3737

3838
# API-specific build control
3939
bBuildOpenGL=true
@@ -78,9 +78,10 @@ do
7878
elif [ "$1" = "hsadir" ]; then
7979
shift
8080
HSA_DIR_OVERRIDE="HSA_DIR=$1"
81-
elif [ "$1" = "vkincdir" ]; then
81+
elif [ "$1" = "vksdkdir" ]; then
8282
shift
83-
VK_INC_DIR_OVERRIDE="VK_INCLUDE_DIR=$1"
83+
VK_SDK_DIR_OVERRIDE="VK_SDK_DIR=$1"
84+
VULKAN_SDK_OVERRIDE="$1"
8485
elif [ "$1" = "skipopengl" ]; then
8586
bBuildOpenGL=false
8687
elif [ "$1" = "skipvulkan" ]; then
@@ -117,6 +118,8 @@ CL=$GPASRC/GPUPerfAPICL
117118
HSA=$GPASRC/GPUPerfAPIHSA
118119
GL=$GPASRC/GPUPerfAPIGL
119120
VK=$GPASRC/GPUPerfAPIVk
121+
VKCOLORCUBE=$GPASRC/Examples/Vulkan/VkColorCube
122+
120123
COUNTERS=$GPASRC/GPUPerfAPICounters
121124
COUNTERGENERATOR=$GPASRC/GPUPerfAPICounterGenerator
122125
GPA_COMMON=$GPASRC/GPUPerfAPI-Common
@@ -179,6 +182,15 @@ VER_MINOR=$(grep -E "#define GPA_MINOR_VERSION\s*[0-9]+" $VERSION_NUMBER_FILE |
179182
VER_MAJOR_MINOR=$VER_MAJOR.$VER_MINOR
180183
VER=$VER_MAJOR_MINOR.$BUILD
181184

185+
CURRENT_VERSION_H_FILE_PERMISSIONS=$(stat --format %a $VERSION_NUMBER_FILE)
186+
chmod 777 "$VERSION_NUMBER_FILE"
187+
old=$(grep -E "#define GPA_BUILD_NUMBER [0-9]+" $VERSION_NUMBER_FILE)
188+
new="#define GPA_BUILD_NUMBER $BUILD"
189+
echo "old = $old"
190+
echo "new = $new"
191+
sed -i "s/$old/$new/g" "$VERSION_NUMBER_FILE"
192+
chmod $CURRENT_VERSION_H_FILE_PERMISSIONS "$VERSION_NUMBER_FILE"
193+
182194
CPU_COUNT=`cat /proc/cpuinfo | grep processor | wc -l`
183195

184196
BUILD_DIRS="$GPUPERFAPI $GPA_COMMON $GPA_DEVICEINFO $COUNTERGENERATOR $COUNTERS"
@@ -188,6 +200,16 @@ if $bBuildOpenGL ; then
188200
fi
189201

190202
if $bBuildVK ; then
203+
if ([ ! -z "$VULKAN_SDK_OVERRIDE" ]) ; then
204+
echo "Using VULKAN_SDK Override: $VULKAN_SDK_OVERRIDE"
205+
VULKAN_SDK="$VULKAN_SDK_OVERRIDE"
206+
elif ([ -v VULKAN_SDK ]) && ([ -e "${VULKAN_SDK}/lib/libvulkan.so" ]) && ([ -e "${VULKAN_SDK}/include/vulkan/vulkan.h" ]) ; then
207+
echo "Using VULKAN_SDK Env Var: $VULKAN_SDK"
208+
else
209+
VULKAN_SDK="${GPAROOT}/../Common/Lib/Ext/Vulkan/Linux/"
210+
echo "Using local VULKAN_SDK: ${VULKAN_SDK}"
211+
fi
212+
191213
BUILD_DIRS="$BUILD_DIRS $VK"
192214
fi
193215

@@ -196,50 +218,60 @@ if $bBuildOpenCL ; then
196218
fi
197219

198220
if $bBuildHSA ; then
199-
BUILD_DIRS="$BUILD_DIRS $HSA"
221+
BUILD_DIRS="$BUILD_DIRS $HSA"
222+
fi
223+
224+
if $bBuildVK ; then
225+
BUILD_DIRS="$BUILD_DIRS $VKCOLORCUBE"
200226
fi
201227

202228
if $bBuildTests ; then
203229
BUILD_DIRS="$BUILD_DIRS $UNITTESTS"
204230
fi
205231

232+
#delete old build
233+
if ! ($bIncrementalBuild) ; then
234+
# clean up old folders
235+
rm -rf $GPAROOT/Output/*
236+
fi
237+
206238
for SUBDIR in $BUILD_DIRS; do
207239
BASENAME=`basename $SUBDIR`
208240

209241
#delete old build
210-
if !($bIncrementalBuild) ; then
242+
if ! ($bIncrementalBuild) ; then
211243
make -C $SUBDIR spotless >> $LOGFILE 2>&1
212244
fi
213245

214246
#make 64 bit
215247
echo "Build ${BASENAME}, 64-bit..." | tee -a $LOGFILE
216248

217-
if ! make -C $SUBDIR -j$CPU_COUNT $HSA_DIR_OVERRIDE $VK_INC_DIR_OVERRIDE $GTEST_LIB_DIR_OVERRIDE "$ADDITIONAL_COMPILER_DEFINES_OVERRIDE" ${MAKE_TARGET} >> $LOGFILE 2>&1; then
249+
if ! make -C $SUBDIR -j$CPU_COUNT $HSA_DIR_OVERRIDE $VK_SDK_DIR_OVERRIDE $GTEST_LIB_DIR_OVERRIDE "$ADDITIONAL_COMPILER_DEFINES_OVERRIDE" ${MAKE_TARGET} >> $LOGFILE 2>&1; then
218250
echo "Failed to build ${BASENAME}, 64 bit"
219251
exit 1
220252
fi
221253

222254
#make 64 bit Internal
223255
if $bBuildInternal ; then
224-
if ! make -C $SUBDIR -j$CPU_COUNT $HSA_DIR_OVERRIDE $VK_INC_DIR_OVERRIDE $GTEST_LIB_DIR_OVERRIDE "$ADDITIONAL_COMPILER_DEFINES_OVERRIDE" ${MAKE_TARGET}Internal >> $LOGFILE 2>&1; then
256+
if ! make -C $SUBDIR -j$CPU_COUNT $HSA_DIR_OVERRIDE $VK_SDK_DIR_OVERRIDE $GTEST_LIB_DIR_OVERRIDE "$ADDITIONAL_COMPILER_DEFINES_OVERRIDE" ${MAKE_TARGET}Internal >> $LOGFILE 2>&1; then
225257
echo "Failed to build ${BASENAME}, 64 bit, Internal"
226258
exit 1
227259
fi
228260
fi
229261

230262
if $b32bitbuild; then
231-
if [ "$SUBDIR" != "$HSA" ]; then
263+
if ([ "$SUBDIR" != "$HSA" ] && [ "$SUBDIR" != "$VKCOLORCUBE" ]); then
232264
#make 32 bit
233265
echo "Build ${BASENAME}, 32-bit..." | tee -a $LOGFILE
234266

235-
if ! make -C $SUBDIR -j$CPU_COUNT $HSA_DIR_OVERRIDE $VK_INC_DIR_OVERRIDE $GTEST_LIB_DIR_OVERRIDE32 "$ADDITIONAL_COMPILER_DEFINES_OVERRIDE" ${MAKE_TARGET}x86 >> $LOGFILE 2>&1; then
267+
if ! make -C $SUBDIR -j$CPU_COUNT $HSA_DIR_OVERRIDE $VK_SDK_DIR_OVERRIDE $GTEST_LIB_DIR_OVERRIDE32 "$ADDITIONAL_COMPILER_DEFINES_OVERRIDE" ${MAKE_TARGET}x86 >> $LOGFILE 2>&1; then
236268
echo "Failed to build ${BASENAME}, 32 bit"
237269
exit 1
238270
fi
239271

240272
#make 32 bit Internal
241273
if $bBuildInternal ; then
242-
if ! make -C $SUBDIR -j$CPU_COUNT $HSA_DIR_OVERRIDE $VK_INC_DIR_OVERRIDE $GTEST_LIB_DIR_OVERRIDE32 "$ADDITIONAL_COMPILER_DEFINES_OVERRIDE" ${MAKE_TARGET}Internalx86 >> $LOGFILE 2>&1; then
274+
if ! make -C $SUBDIR -j$CPU_COUNT $HSA_DIR_OVERRIDE $VK_SDK_DIR_OVERRIDE $GTEST_LIB_DIR_OVERRIDE32 "$ADDITIONAL_COMPILER_DEFINES_OVERRIDE" ${MAKE_TARGET}Internalx86 >> $LOGFILE 2>&1; then
243275
echo "Failed to build ${BASENAME}, 32 bit, Internal"
244276
exit 1
245277
fi
@@ -324,6 +356,22 @@ if $bZip ; then
324356
cd ..
325357
tar cvzf GPUPerfAPI.$VER-lnx-Promotion.tgz $ZIP_DIR_NAME/
326358
fi
359+
360+
#---------------------------------------------------
361+
# Copy Vk samples
362+
#---------------------------------------------------
363+
echo "Generate Samples tarball..." | tee -a $LOGFILE
364+
ZIP_DIR_NAME=Samples
365+
cd $GPAOUTPUT
366+
mkdir -p $ZIP_DIR_NAME
367+
cd $ZIP_DIR_NAME
368+
mkdir -p Bin
369+
mkdir -p Bin/Linx64
370+
cp $GPAOUTPUT_BIN/libGPUPerfAPIVK.so ./Bin/Linx64/
371+
cp $GPAOUTPUT_BIN/VkColorCube ./Bin/Linx64/
372+
cp $GPAOUTPUT_BIN/*.spv ./Bin/Linx64/
373+
cd ..
374+
tar cvzf GPUPerfAPISamples.$VER-lnx.tgz $ZIP_DIR_NAME/
327375
fi
328376

329377
if [ -z ${LD_LIBRARY_PATH+x} ]; then

Build/VS2015/D3D12ColorCube.vcxproj

Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3+
<ItemGroup Label="ProjectConfigurations">
4+
<ProjectConfiguration Include="Debug|Win32">
5+
<Configuration>Debug</Configuration>
6+
<Platform>Win32</Platform>
7+
</ProjectConfiguration>
8+
<ProjectConfiguration Include="Release|Win32">
9+
<Configuration>Release</Configuration>
10+
<Platform>Win32</Platform>
11+
</ProjectConfiguration>
12+
<ProjectConfiguration Include="Debug|x64">
13+
<Configuration>Debug</Configuration>
14+
<Platform>x64</Platform>
15+
</ProjectConfiguration>
16+
<ProjectConfiguration Include="Release|x64">
17+
<Configuration>Release</Configuration>
18+
<Platform>x64</Platform>
19+
</ProjectConfiguration>
20+
</ItemGroup>
21+
<ItemGroup>
22+
<ClInclude Include="..\..\Src\Examples\DX12\D3D12ColorCube\CubeSample.h" />
23+
</ItemGroup>
24+
<ItemGroup>
25+
<None Include="..\..\Src\Examples\DX12\D3D12ColorCube\Shaders.hlsl" />
26+
</ItemGroup>
27+
<ItemGroup>
28+
<ClCompile Include="..\..\Src\Examples\DX12\D3D12ColorCube\CubeSample.cpp" />
29+
<ClCompile Include="..\..\Src\Examples\DX12\Sample.cpp" />
30+
</ItemGroup>
31+
<PropertyGroup Label="Globals">
32+
<VCProjectVersion>15.0</VCProjectVersion>
33+
<ProjectGuid>{1B136D41-DEA0-48D8-8E9B-E0DEE84D6DA6}</ProjectGuid>
34+
<Keyword>Win32Proj</Keyword>
35+
<RootNamespace>D3D12ColorCube</RootNamespace>
36+
<WindowsTargetPlatformVersion>10.0.16299.0</WindowsTargetPlatformVersion>
37+
</PropertyGroup>
38+
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
39+
<PropertyGroup Label="Configuration">
40+
<ConfigurationType>Application</ConfigurationType>
41+
<PlatformToolset>v140</PlatformToolset>
42+
<CharacterSet>Unicode</CharacterSet>
43+
</PropertyGroup>
44+
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
45+
<ImportGroup Label="ExtensionSettings">
46+
</ImportGroup>
47+
<ImportGroup Label="Shared">
48+
</ImportGroup>
49+
<ImportGroup Label="PropertySheets">
50+
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
51+
<Import Project="..\..\..\GPA\Build\VS2015\GPA-Common.props" />
52+
</ImportGroup>
53+
<ItemDefinitionGroup>
54+
<Link>
55+
<SubSystem>Windows</SubSystem>
56+
<AdditionalDependencies>dxgi.lib;d3d12.lib;D3DCompiler.lib;dxguid.lib;%(AdditionalDependencies)</AdditionalDependencies>
57+
</Link>
58+
<PostBuildEvent>
59+
<Command>XCOPY /E /Y $(ProjectDir)..\..\Src\Examples\DX12\D3D12ColorCube\*.hlsl $(AMDTOutputDir)$(Configuration)\bin\</Command>
60+
</PostBuildEvent>
61+
<ClCompile>
62+
<PreprocessorDefinitions Condition="'$(Configuration)'=='Debug'">USE_DEBUG_GPA;%(PreprocessorDefinitions)</PreprocessorDefinitions>
63+
</ClCompile>
64+
</ItemDefinitionGroup>
65+
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
66+
<ImportGroup Label="ExtensionTargets">
67+
</ImportGroup>
68+
</Project>
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3+
<ItemGroup>
4+
<Filter Include="Source Files">
5+
<UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
6+
<Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
7+
</Filter>
8+
<Filter Include="Header Files">
9+
<UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
10+
<Extensions>h;hh;hpp;hxx;hm;inl;inc;ipp;xsd</Extensions>
11+
</Filter>
12+
<Filter Include="Resource Files">
13+
<UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
14+
<Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions>
15+
</Filter>
16+
<Filter Include="Shaders">
17+
<UniqueIdentifier>{44431555-5ad5-4160-af84-3d5faea6448d}</UniqueIdentifier>
18+
</Filter>
19+
</ItemGroup>
20+
<ItemGroup>
21+
<ClInclude Include="..\..\Src\Examples\DX12\D3D12ColorCube\CubeSample.h">
22+
<Filter>Header Files</Filter>
23+
</ClInclude>
24+
</ItemGroup>
25+
<ItemGroup>
26+
<None Include="..\..\Src\Examples\DX12\D3D12ColorCube\Shaders.hlsl">
27+
<Filter>Shaders</Filter>
28+
</None>
29+
</ItemGroup>
30+
<ItemGroup>
31+
<ClCompile Include="..\..\Src\Examples\DX12\Sample.cpp">
32+
<Filter>Source Files</Filter>
33+
</ClCompile>
34+
<ClCompile Include="..\..\Src\Examples\DX12\D3D12ColorCube\CubeSample.cpp">
35+
<Filter>Source Files</Filter>
36+
</ClCompile>
37+
</ItemGroup>
38+
</Project>

Build/VS2015/GPA-Vulkan.props

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3+
<ImportGroup Label="PropertySheets" />
4+
<PropertyGroup Label="UserMacros">
5+
<VULKAN_SDK Condition="Exists('$(VK_SDK_PATH)')">$(VK_SDK_PATH)</VULKAN_SDK>
6+
<VULKAN_SDK Condition="!Exists('$(VK_SDK_PATH)')">$(CommonDir)Lib\Ext\Vulkan\Windows\</VULKAN_SDK>
7+
</PropertyGroup>
8+
<ItemDefinitionGroup>
9+
<ClCompile>
10+
<AdditionalIncludeDirectories>$(VULKAN_SDK)\Include\;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
11+
</ClCompile>
12+
</ItemDefinitionGroup>
13+
<ItemGroup>
14+
<BuildMacro Include="VULKAN_SDK">
15+
<Value>$(VULKAN_SDK)</Value>
16+
</BuildMacro>
17+
</ItemGroup>
18+
</Project>

Build/VS2015/GPA-VulkanDemo.props

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3+
<ImportGroup Label="PropertySheets">
4+
<Import Project="..\..\..\GPA\Build\VS2015\GPA-Common.props" />
5+
<Import Project="GPA-Vulkan.props" />
6+
</ImportGroup>
7+
<ItemDefinitionGroup >
8+
<Link>
9+
<AdditionalDependencies>vulkan-1.lib;%(AdditionalDependencies)</AdditionalDependencies>
10+
<AdditionalLibraryDirectories Condition="'$(Platform)'=='Win32'">$(VULKAN_SDK)\Lib32;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
11+
<AdditionalLibraryDirectories Condition="'$(Platform)'=='x64'">$(VULKAN_SDK)\Lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
12+
</Link>
13+
</ItemDefinitionGroup>
14+
<ItemGroup />
15+
</Project>

Build/VS2015/GPAFunctionExports.def

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,4 +44,6 @@ EXPORTS
4444
GPA_GetSampleResult
4545
GPA_GetStatusAsStr
4646
GPA_GetDeviceAndRevisionId
47-
GPA_GetDeviceName
47+
GPA_GetDeviceName
48+
GPA_GetSampleId
49+
GPA_GetVersion

Build/VS2015/GPUPerfAPI-Common.vcxproj

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222
<ClInclude Include="..\..\..\Common\Src\DeviceInfo\DeviceInfo.h" />
2323
<ClInclude Include="..\..\..\Common\Src\DeviceInfo\DeviceInfoUtils.h" />
2424
<ClInclude Include="..\..\..\Common\Src\DynamicLibraryModule\DynamicLibraryModule.h" />
25-
<ClInclude Include="..\..\..\Common\Src\GPUPerfAPIUtils\GPUPerfAPIRegistry.h" />
2625
<ClInclude Include="..\..\Src\GPUPerfAPI-Common\Adapter.h" />
2726
<ClInclude Include="..\..\Src\GPUPerfAPI-Common\APIRTModuleLoader.h" />
2827
<ClInclude Include="..\..\Src\GPUPerfAPI-Common\CircularBuffer.h" />

0 commit comments

Comments
 (0)