defined CFOA_EMBEDDED_GROUP_ACCESS and obtain Windows box CPU info

This commit is contained in:
joaquintides
2023-01-21 12:38:03 +01:00
parent 56a75c14b3
commit 8027ddebbd

View File

@@ -19,7 +19,7 @@ jobs:
vcpkgtriplet: x64-linux
sourcefile: main.cpp
download-datafiles: http://mattmahoney.net/dc/enwik9.zip
compileroptions: -std=c++2a -O3 -DNDEBUG -DNO_CFOA_EMBEDDED_GROUP_ACCESS
compileroptions: -std=c++2a -O3 -DNDEBUG -DCFOA_EMBEDDED_GROUP_ACCESS
outputfile: benchmark
reportdir: gcc-x64
os: [self-hosted, linux, x64]
@@ -32,7 +32,7 @@ jobs:
vcpkgtriplet: x64-linux
sourcefile: main.cpp
download-datafiles: http://mattmahoney.net/dc/enwik9.zip
compileroptions: -std=c++2a -O3 -DNDEBUG -DNO_CFOA_EMBEDDED_GROUP_ACCESS
compileroptions: -std=c++2a -O3 -DNDEBUG -DCFOA_EMBEDDED_GROUP_ACCESS
outputfile: benchmark
reportdir: clang-x64
os: [self-hosted, linux, x64]
@@ -45,7 +45,7 @@ jobs:
vcpkgtriplet: arm64-osx
sourcefile: main.cpp
download-datafiles: http://mattmahoney.net/dc/enwik9.zip
compileroptions: -std=c++2a -O3 -DNDEBUG -DNO_CFOA_EMBEDDED_GROUP_ACCESS -DNUM_THREADS=8
compileroptions: -std=c++2a -O3 -DNDEBUG -DCFOA_EMBEDDED_GROUP_ACCESS -DNUM_THREADS=8
outputfile: benchmark
reportdir: clang-arm64
os: [self-hosted, macOS, ARM64]
@@ -58,7 +58,7 @@ jobs:
vcpkgtriplet: x86-linux
sourcefile: main.cpp
download-datafiles: http://mattmahoney.net/dc/enwik8.zip
compileroptions: -std=c++2a -O3 -DNDEBUG -DNO_CFOA_EMBEDDED_GROUP_ACCESS
compileroptions: -std=c++2a -O3 -DNDEBUG -DCFOA_EMBEDDED_GROUP_ACCESS
outputfile: benchmark
reportdir: gcc-x86
os: [self-hosted, linux, x64]
@@ -71,7 +71,7 @@ jobs:
vcpkgtriplet: x86-linux
sourcefile: main.cpp
download-datafiles: http://mattmahoney.net/dc/enwik8.zip
compileroptions: -std=c++2a -O3 -DNDEBUG -DNO_CFOA_EMBEDDED_GROUP_ACCESS
compileroptions: -std=c++2a -O3 -DNDEBUG -DCFOA_EMBEDDED_GROUP_ACCESS
outputfile: benchmark
reportdir: clang-x86
os: [self-hosted, linux, x64]
@@ -178,7 +178,7 @@ jobs:
vcpkgtriplet: x64-windows
sourcefile: main.cpp
download-datafiles: http://mattmahoney.net/dc/enwik9.zip
compileroptions: /std:c++20 /O2 /GL /D "NDEBUG" /D "NO_CFOA_EMBEDDED_GROUP_ACCESS" /EHsc /MD /Fe:benchmark.exe
compileroptions: /std:c++20 /O2 /GL /D "NDEBUG" /D "CFOA_EMBEDDED_GROUP_ACCESS" /EHsc /MD /Fe:benchmark.exe
outputfile: benchmark.exe
reportdir: vs-x64
os: [self-hosted, Windows, X64]
@@ -189,7 +189,7 @@ jobs:
vcpkgtriplet: x86-windows
sourcefile: main.cpp
download-datafiles: http://mattmahoney.net/dc/enwik8.zip
compileroptions: /std:c++20 /O2 /GL /D "NDEBUG" /D "NO_CFOA_EMBEDDED_GROUP_ACCESS" /EHsc /MD /Fe:benchmark.exe
compileroptions: /std:c++20 /O2 /GL /D "NDEBUG" /D "CFOA_EMBEDDED_GROUP_ACCESS" /EHsc /MD /Fe:benchmark.exe
outputfile: benchmark.exe
reportdir: vs-x86
os: [self-hosted, Windows, X64]
@@ -198,6 +198,10 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: Obtain CPU info
shell: powershell
run: |
WMIC CPU Get DeviceID,NumberOfCores,NumberOfLogicalProcessors
- name: Download large data files
if: matrix.download-datafiles
shell: powershell