mirror of
https://github.com/nwchemgit/nwchem.git
synced 2026-07-29 06:35:39 -04:00
get detailed cpu information
This commit is contained in:
parent
b9f1e3a4d2
commit
2fbcf486b1
2 changed files with 11 additions and 3 deletions
4
.github/workflows/github_actions.yml
vendored
4
.github/workflows/github_actions.yml
vendored
|
|
@ -498,9 +498,7 @@ jobs:
|
|||
- name: Get Instruction
|
||||
id: get-simd
|
||||
run: |
|
||||
if [[ $(uname -s) == Linux ]]; then
|
||||
echo "SIMD " $(lscpu | grep -i flags | sort | uniq)
|
||||
fi
|
||||
./travis/cpuinfo.sh
|
||||
echo "simd=$(./travis/guess_simd.sh)" >> $GITHUB_ENV
|
||||
shell: bash
|
||||
- name: Setup cache
|
||||
|
|
|
|||
10
travis/cpuinfo.sh
Executable file
10
travis/cpuinfo.sh
Executable file
|
|
@ -0,0 +1,10 @@
|
|||
#!/usr/bin/env bash
|
||||
git clone https://github.com/pytorch/cpuinfo
|
||||
cd cpuinfo
|
||||
mkdir build && cd build
|
||||
cmake ..
|
||||
make -j3
|
||||
./isa-info
|
||||
./cpu-info
|
||||
cd ../..
|
||||
rm -rf cpuinfo
|
||||
Loading…
Add table
Add a link
Reference in a new issue