Preparation for #1.4.0 (#30)
- Fixed CPU affinity on Windows for NUMA and CPUs with lot of cores - Implemented per thread configurable Multihash mode (double, triple, quadruple, quintuple) - Rebased from XMRig 2.4.4
This commit is contained in:
parent
990bf8d963
commit
cf868666d4
41 changed files with 2575 additions and 1104 deletions
15
test/cpu/CMakeLists.txt
Normal file
15
test/cpu/CMakeLists.txt
Normal file
|
@ -0,0 +1,15 @@
|
|||
set(SOURCES
|
||||
test_cpu.cpp
|
||||
../../src/Cpu.cpp
|
||||
)
|
||||
|
||||
include_directories(../../src)
|
||||
|
||||
add_executable(test_cpu ${SOURCES})
|
||||
target_link_libraries(test_cpu unity xmrig_os_dependencies ${EXTRA_LIBS})
|
||||
|
||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -maes -fno-strict-aliasing")
|
||||
set(CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} -O2")
|
||||
add_definitions(-DBUILD_TEST)
|
||||
|
||||
add_test(test_cpu test_cpu)
|
Loading…
Add table
Add a link
Reference in a new issue