• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1@echo off
2
3::
4::
5::
6
7set SRC_C=^
8../../../common/util.c ^
9../../../common/vk/assert_vk.c ^
10../../../common/vk/host_alloc.c ^
11../../../common/vk/cache_vk.c ^
12../hs_vk.c ^
13../intel/gen8/u32/hs_intel_gen8_u32.c ^
14../intel/gen8/u64/hs_intel_gen8_u64.c ^
15../nvidia/sm_35/u32/hs_nvidia_sm35_u32.c ^
16../nvidia/sm_35/u64/hs_nvidia_sm35_u64.c ^
17../amd/gcn/u32/hs_amd_gcn_u32.c ^
18../amd/gcn/u64/hs_amd_gcn_u64.c ^
19main.c
20
21set SRC_CPP=sort.cpp
22
23::
24:: /DHS_VK_VERBOSE_DISASSEMBLY_AMD ^
25::
26
27:: SET AMD_OPTS= /DHS_VK_VERBOSE_STATISTICS_AMD /DHS_VK_VERBOSE_DISASSEMBLY_AMD
28SET AMD_OPTS= /DHS_VK_VERBOSE_STATISTICS_AMD
29
30cl ^
31/Fe:hs_bench_vk ^
32/O2 ^
33/DNDEBUG ^
34%AMD_OPTS% ^
35/std:c++latest /Zc:__cplusplus /EHs ^
36/I../../.. /I.. /I%VULKAN_SDK%/include ^
37%VULKAN_SDK%/lib/vulkan-1.lib ^
38%SRC_C% %SRC_CPP%
39
40::
41::
42::
43
44del *.obj
45
46::
47::
48::
49