Skip to content

Add AMD EPYC CPUs to check for AMD Ryzen #2712

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 123 commits into
base: dev
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
123 commits
Select commit Hold shift + click to select a range
e0e4f0f
randomx support
psychocrypt Sep 9, 2019
501aecc
NVIDIA: randomx
psychocrypt Sep 14, 2019
b92fdb3
AMD: randomx
psychocrypt Sep 14, 2019
9a2a727
cleanup
psychocrypt Sep 14, 2019
39f3834
more cleanup
psychocrypt Sep 14, 2019
e19040b
more changes
psychocrypt Sep 15, 2019
ed85f2a
fix singleton init
psychocrypt Sep 15, 2019
04664ea
AMD: cleanup parameter
psychocrypt Sep 15, 2019
49ed079
NVIDIA: cleanup
psychocrypt Sep 15, 2019
ab80f97
CPU: cleanup
psychocrypt Sep 15, 2019
f9969ab
more cleanup
psychocrypt Sep 15, 2019
d184869
AMD: autosuggestion update
psychocrypt Sep 17, 2019
bc0822a
fix singletons again
psychocrypt Sep 17, 2019
c1ececa
fix job update function selection
psychocrypt Sep 17, 2019
85acb53
colored motd message
psychocrypt Sep 21, 2019
753a404
cleanup/fixes/version increase
psychocrypt Sep 21, 2019
f8359f0
fix windows build
psychocrypt Sep 21, 2019
74fa68a
update benchmark mode
psychocrypt Sep 22, 2019
9cd65c2
AMD: add more debug output
psychocrypt Sep 23, 2019
0198532
fix vega support
psychocrypt Sep 23, 2019
b1ed025
CPU: add selftest
psychocrypt Sep 23, 2019
e872ab8
AMD: update auto config
psychocrypt Sep 23, 2019
29f89f8
update motd server address
psychocrypt Sep 23, 2019
8f490b1
motd connect update
psychocrypt Sep 27, 2019
5b70427
report system overview
psychocrypt Sep 30, 2019
ef25f85
rename binaries
psychocrypt Oct 3, 2019
12abf3d
cli option `--noTest`
psychocrypt Oct 4, 2019
20091c7
fix target parsing
psychocrypt Oct 4, 2019
917f83f
fix randomx config parameters
psychocrypt Oct 4, 2019
da667e1
sync with xmrig 4.2.0
psychocrypt Oct 4, 2019
86952ca
sync with xmrig 4.3.1
psychocrypt Oct 13, 2019
6988ca4
motd link
psychocrypt Oct 14, 2019
cdc51ce
snyc with xmrig
psychocrypt Nov 5, 2019
006e9e1
OpenCL: fix wrong unroll syntax
psychocrypt Nov 5, 2019
2a0462f
changes for the release
psychocrypt Nov 15, 2019
e72a80d
update CMake
psychocrypt Nov 15, 2019
f8d367e
cleanup
psychocrypt Nov 15, 2019
90c8ac7
Correct authors of RandomX mining code
SChernykh Nov 16, 2019
90c8ebd
Merge pull request #2551 from SChernykh/xmr-stak-rx
psychocrypt Nov 16, 2019
5929d46
fix CI
psychocrypt Nov 17, 2019
bcbd88b
Merge pull request #2553 from psychocrypt/fix-ci_rx
psychocrypt Nov 25, 2019
115a256
fix travis
psychocrypt Nov 25, 2019
3386bfb
Merge pull request #2568 from psychocrypt/rx-fix-travis
psychocrypt Nov 25, 2019
1d46d5b
add currency names
psychocrypt Nov 17, 2019
dedc3fe
advertice disabling self test
psychocrypt Nov 17, 2019
06b03cd
fix hwloc warning
psychocrypt Nov 17, 2019
d51fa86
fix tsl not used on first start
psychocrypt Nov 17, 2019
3cb5cda
fix miner benchmark mode
psychocrypt Nov 20, 2019
c8770b9
NVIDIA: fix auto adjustment
psychocrypt Nov 24, 2019
57a3cfd
version increase to 1.0.1-rx
psychocrypt Nov 25, 2019
4dc9cd3
Merge pull request #2554 from psychocrypt/rx-topic-add_currenrcy_names
psychocrypt Nov 25, 2019
11cfe08
Merge pull request #2555 from psychocrypt/rx-topic-notifyDisableSelftest
psychocrypt Nov 25, 2019
f25587e
Merge pull request #2556 from psychocrypt/rx-fix-hwlocMembindWarning
psychocrypt Nov 25, 2019
20b704c
Merge pull request #2558 from psychocrypt/rx-fix-irgnoringTLSOnFirstS…
psychocrypt Nov 25, 2019
6541b1a
Merge pull request #2561 from psychocrypt/rx-fix-benchMarkMode
psychocrypt Nov 25, 2019
9a92438
Merge pull request #2567 from psychocrypt/rx-fix-nvidiaAutoAdjustment
psychocrypt Nov 25, 2019
e46dfe6
Merge pull request #2569 from psychocrypt/rx-topic-versionUptadeTo1.0.1
psychocrypt Nov 25, 2019
7a9361b
Merge pull request #2570 from fireice-uk/xmr-stak-rx-dev
psychocrypt Nov 26, 2019
791e990
rename shared libraries
psychocrypt Nov 28, 2019
ffcd62e
version increase to 1.0.2-rx
psychocrypt Nov 28, 2019
be13c6b
update README
Ryo-RU Nov 30, 2019
46d3c69
Merge pull request #2573 from psychocrypt/rx-fix-sharedLibNames
fireice-uk Nov 30, 2019
75ca850
Merge pull request #2574 from psychocrypt/rx-topic-versionIncreaseTo1…
fireice-uk Nov 30, 2019
a23cdea
Merge pull request #2578 from psychocrypt/rx-topic-updateReadme
fireice-uk Nov 30, 2019
1d081bc
fix documentation
psychocrypt Nov 30, 2019
4a8d980
Merge pull request #2585 from psychocrypt/rx-fix-compileDocumentation
fireice-uk Nov 30, 2019
ca476f1
fix memory pinning
psychocrypt Dec 1, 2019
d93146d
CPU: remove unused params
psychocrypt Dec 1, 2019
29682a7
merge randomX changes from xmrig
SChernykh Dec 1, 2019
cd7b1b0
reduce number of hash statistic updates
psychocrypt Dec 1, 2019
c701074
Merge pull request #2596 from psychocrypt/rx-topic-optimizeRandomX
fireice-uk Dec 1, 2019
9b6aa83
Merge pull request #2590 from psychocrypt/rx-fix-memoryAffinity
fireice-uk Dec 1, 2019
26fb3dc
Merge pull request #2591 from psychocrypt/rx-topic-removeCPUCfgUnused…
fireice-uk Dec 1, 2019
d9003fa
optimize hash rate
psychocrypt Dec 1, 2019
3ad86f3
Merge pull request #2599 from psychocrypt/rx-topic-optimizeHashRound
fireice-uk Dec 1, 2019
2d59c42
Merge pull request #2601 from fireice-uk/xmr-stak-rx-dev
fireice-uk Dec 1, 2019
139f9cb
add link to youtube
psychocrypt Dec 2, 2019
7e5b0f7
disable dev support cli option
psychocrypt Dec 2, 2019
aba1dc2
Merge pull request #2607 from psychocrypt/rx-topic-addYoutubeLink
fireice-uk Dec 2, 2019
bf8ca6e
Merge pull request #2609 from psychocrypt/rx-topic-allowDisableInform…
fireice-uk Dec 2, 2019
1dee2b6
Merge pull request #2611 from fireice-uk/xmr-stak-rx-dev
fireice-uk Dec 2, 2019
9a61429
fix multihash
psychocrypt Dec 8, 2019
606d89e
optimize hash calculation
psychocrypt Dec 8, 2019
d640396
add ubuntu OpenCL dep
nuke-web3 Dec 9, 2019
fe842dd
fix windows huge page support
psychocrypt Dec 9, 2019
aa821c5
Merge pull request #2622 from NukeManDan/patch-2
psychocrypt Dec 9, 2019
0b3e762
update travis tests
psychocrypt Dec 9, 2019
b7586c5
Merge pull request #2621 from psychocrypt/rx-fix-multiHash
fireice-uk Dec 10, 2019
af08f28
Merge pull request #2623 from psychocrypt/rx-topic-optimizeRXHashRound
fireice-uk Dec 10, 2019
cd41b70
Merge pull request #2624 from psychocrypt/rx-fix-windowsHugePageSupport
fireice-uk Dec 10, 2019
5048764
Merge pull request #2625 from psychocrypt/rx-topic-updateTravis
fireice-uk Dec 10, 2019
ec9371f
add arqma support
psychocrypt Dec 11, 2019
3120adb
Linux 1GiB page support
psychocrypt Dec 11, 2019
d8f11d8
Merge pull request #2628 from psychocrypt/rx-topic-arqmaSupport
fireice-uk Dec 12, 2019
4f5e4cd
Merge pull request #2627 from psychocrypt/rx-topic-1gibPageSupport
fireice-uk Dec 12, 2019
f827ab3
fix outdated documentation
psychocrypt Dec 12, 2019
03725c3
version update to 1.0.3-rx
psychocrypt Dec 12, 2019
22f9502
Merge pull request #2630 from psychocrypt/rx-fix-outdatedDocu
fireice-uk Dec 12, 2019
b479177
Merge pull request #2631 from psychocrypt/rx-topic-versionUpdateTo1.0…
fireice-uk Dec 12, 2019
8af95f8
add arqma to readme
psychocrypt Dec 12, 2019
3f8c373
Merge pull request #2632 from psychocrypt/rx-topic-addArqmaToDocu
fireice-uk Dec 12, 2019
a90fcc9
Merge pull request #2633 from fireice-uk/xmr-stak-rx-dev
fireice-uk Dec 12, 2019
32381fd
CPU: numa support/better autoconfig
psychocrypt Dec 16, 2019
633947d
randomx linux booster script
psychocrypt Dec 16, 2019
8cdf4a4
Merge pull request #2635 from psychocrypt/rx-topic-refactorAutoSugges…
fireice-uk Dec 17, 2019
3137396
Merge pull request #2637 from psychocrypt/ry-topic-bosterScriptLinux
fireice-uk Dec 17, 2019
fcd185e
add warning for MSR changes
psychocrypt Dec 17, 2019
e5fb0e0
Merge pull request #2638 from psychocrypt/rx-fix-msrBoosterScript
fireice-uk Dec 17, 2019
ea47136
Implement Ryzen speedups
fireice-uk Dec 29, 2019
9ba029b
windows msr
fireice-uk Dec 29, 2019
d0dc354
increase version
fireice-uk Dec 29, 2019
4884c41
Merge pull request #2644 from fireice-uk/rx-ryzen-code
psychocrypt Dec 29, 2019
ce0c3f2
Merge pull request #2645 from fireice-uk/rx-windows-wrmsr
psychocrypt Dec 29, 2019
6091644
Merge pull request #2646 from fireice-uk/rx-version
psychocrypt Dec 29, 2019
65ade74
Merge pull request #2647 from fireice-uk/xmr-stak-rx-dev
fireice-uk Dec 29, 2019
f9713b6
Add keva, safex.
pp4io May 6, 2020
6d8f60d
Merge pull request #2671 from pp4io/xmr-stak-rx-dev
fireice-uk May 6, 2020
37200ff
incr version
fireice-uk May 6, 2020
cd2e233
Merge pull request #2672 from fireice-uk/topic-inc-ver
fireice-uk May 6, 2020
af03d89
Merge pull request #2673 from fireice-uk/xmr-stak-rx-dev
fireice-uk May 6, 2020
e2b99b8
Fix typo
whatwareweb Dec 23, 2020
a061535
Merge pull request #2702 from whatwareweb/patch-1
fireice-uk Feb 23, 2021
519f0fe
Add AMD EPYC CPUs in check for Ryzen
alessandrolosacco Feb 27, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 10 additions & 9 deletions .appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# image
image: Visual Studio 2015
image: Visual Studio 2017

# build platform
platform: x64
Expand All @@ -9,25 +9,26 @@ clone_folder: c:\xmr-stak

install:
- mkdir c:\xmr-stak-dep
- curl -sL https://github.com/fireice-uk/xmr-stak-dep/releases/download/v1/xmr-stak-dep.zip -o xmr-stak-dep.zip
- 7z x xmr-stak-dep.zip -o"c:\xmr-stak-dep" -y > nul
- appveyor DownloadFile https://developer.nvidia.com/compute/cuda/8.0/prod/local_installers/cuda_8.0.44_windows-exe -FileName cuda_8.0.44_windows.exe
- cuda_8.0.44_windows.exe -s compiler_8.0 cudart_8.0 nvrtc_8.0 nvrtc_dev_8.0
- set PATH=%ProgramFiles%\NVIDIA GPU Computing Toolkit\CUDA\v8.0\bin;%ProgramFiles%\NVIDIA GPU Computing Toolkit\CUDA\v8.0\libnvvp;%PATH%
- curl -sL https://github.com/fireice-uk/xmr-stak-dep/releases/download/v2/xmr-stak-dep.zip -o xmr-stak-dep.zip
- 7z x xmr-stak-dep.zip -o"c:\" -y > nul
- dir c:\xmr-stak-dep
- appveyor DownloadFile "https://developer.nvidia.com/compute/cuda/10.1/Prod/network_installers/cuda_10.1.105_win10_network.exe" -FileName install_cuda.exe
- install_cuda.exe -s nvcc_10.1 cudart_10.1
- set PATH=%ProgramFiles%\NVIDIA GPU Computing Toolkit\CUDA\v10.1\bin;%ProgramFiles%\NVIDIA GPU Computing Toolkit\CUDA\v10.1\libnvvp;%PATH%
- nvcc -V

build_script:
- call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\Tools\VsMSBuildCmd.bat"
- call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvarsall.bat" x64 -vcvars_ver=14.11
- cd c:\xmr-stak
- mkdir build
- cd build
- set CMAKE_PREFIX_PATH=C:\xmr-stak-dep\hwloc;C:\xmr-stak-dep\libmicrohttpd;C:\xmr-stak-dep\openssl;
- cmake -G "Visual Studio 14 2015 Win64" -T v140,host=x64 .. -DCUDA_ARCH=30
- cmake -G "Visual Studio 15 2017 Win64" -T v141,host=x64 .. -DCUDA_ARCH=35
- cmake --build . --config Release --target install

test_script:
- cd c:\xmr-stak\build\bin\Release
- dir
- copy C:\xmr-stak-dep\openssl\bin\* .
- set XMRSTAK_NOWAIT=1
- xmr-stak.exe --help --noUAC
- xmr-stak-rx.exe --help --noUAC
40 changes: 29 additions & 11 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,11 @@
dist: trusty

osx_image: xcode8.3

sudo: false

language: cpp

cache:
apt: true
directories:
- $HOME/.cache/cuda
- $HOME/.cache/cuda9

addons:
apt:
Expand All @@ -21,11 +17,12 @@ addons:

env:
global:
- CUDA_ROOT: $HOME/.cache/cuda
- CUDA_ROOT: $HOME/.cache/cuda9

matrix:
include:
- os: linux
dist: bionic
compiler: gcc
addons:
apt:
Expand All @@ -39,8 +36,9 @@ matrix:
- CMAKE_CXX_COMPILER=g++-5
- CMAKE_C_COMPILER=gcc-5
- XMRSTAK_CMAKE_FLAGS="-DCUDA_ARCH=30 -DOpenCL_ENABLE=OFF"

- os: linux
dist: bionic
compiler: gcc
addons:
apt:
Expand All @@ -57,6 +55,7 @@ matrix:

# test with disabled HWLOC, MICROHTTPD, OpenSSL and no accelerators
- os: linux
dist: bionic
compiler: gcc
addons:
apt:
Expand All @@ -72,6 +71,7 @@ matrix:
- XMRSTAK_CMAKE_FLAGS="-DCUDA_ENABLE=OFF -DOpenCL_ENABLE=OFF -DHWLOC_ENABLE=OFF -DOpenSSL_ENABLE=OFF -DMICROHTTPD_ENABLE=OFF"

- os: linux
dist: bionic
compiler: gcc
addons:
apt:
Expand All @@ -85,8 +85,25 @@ matrix:
- CMAKE_CXX_COMPILER=g++-7
- CMAKE_C_COMPILER=gcc-7
- XMRSTAK_CMAKE_FLAGS="-DCUDA_ENABLE=OFF -DOpenCL_ENABLE=OFF"

- os: linux
dist: bionic
compiler: gcc
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- *default_packages
- gcc-8
- g++-8
env:
- CMAKE_CXX_COMPILER=g++-8
- CMAKE_C_COMPILER=gcc-8
- XMRSTAK_CMAKE_FLAGS="-DCUDA_ENABLE=OFF -DOpenCL_ENABLE=OFF"

- os: osx
osx_image: xcode8.3
compiler: gcc
env:
- XMRSTAK_CMAKE_FLAGS="-DCUDA_ENABLE=OFF -DOpenCL_ENABLE=OFF"
Expand All @@ -106,11 +123,11 @@ install:
if [ $NVCC_FOUND -ne 0 ]; then
mkdir -p $CUDA_ROOT &&
cd $CUDA_ROOT &&
travis_retry wget https://developer.nvidia.com/compute/cuda/8.0/prod/local_installers/cuda_8.0.44_linux-run &&
travis_retry wget https://developer.nvidia.com/compute/cuda/9.0/Prod/local_installers/cuda_9.0.176_384.81_linux-run &&
ls -la &&
chmod u+x *-run &&
./cuda_8.0.44_linux-run --silent --toolkit --toolkitpath=$CUDA_ROOT &&
rm -rf ./cuda_8.0.44_linux-run $CUDA_ROOT/{samples,jre,doc,share} &&
./cuda_9.0.176_384.81_linux-run --silent --toolkit --override --toolkitpath=$CUDA_ROOT &&
rm -rf ./cuda_9.0.176_384.81_linux-run $CUDA_ROOT/{samples,jre,doc,share} &&
cd -;
fi
fi;
Expand All @@ -120,7 +137,8 @@ script:
brew install hwloc;
cmake -DMICROHTTPD_ENABLE=OFF -DOPENSSL_ROOT_DIR=/usr/local/opt/openssl ${XMRSTAK_CMAKE_FLAGS} .;
else
export CMAKE_PREFIX_PATH=$CMAKE_PREFIX_PATH:$CUDA_ROOT;
cmake -DCMAKE_C_COMPILER=${CMAKE_C_COMPILER} -DCMAKE_CXX_COMPILER=${CMAKE_CXX_COMPILER} ${XMRSTAK_CMAKE_FLAGS} .;
fi;
- make VERBOSE=1 install
- ./bin/xmr-stak --help
- ./bin/xmr-stak-rx --help
Loading