{"action":"created","issue":{"url":"https://api.github.com/repos/fireice-uk/xmr-stak/issues/1485","repository_url":"https://api.github.com/repos/fireice-uk/xmr-stak","labels_url":"https://api.github.com/repos/fireice-uk/xmr-stak/issues/1485/labels{/name}","comments_url":"https://api.github.com/repos/fireice-uk/xmr-stak/issues/1485/comments","events_url":"https://api.github.com/repos/fireice-uk/xmr-stak/issues/1485/events","html_url":"https://github.com/fireice-uk/xmr-stak/issues/1485","id":316562028,"number":1485,"title":"Vega64 + ROCm 1.7: Illegal instruction detected: Operand has incorrect register class.","user":{"login":"chron0","id":3270028,"avatar_url":"https://avatars0.githubusercontent.com/u/3270028?v=4","gravatar_id":"","url":"https://api.github.com/users/chron0","html_url":"https://github.com/chron0","followers_url":"https://api.github.com/users/chron0/followers","following_url":"https://api.github.com/users/chron0/following{/other_user}","gists_url":"https://api.github.com/users/chron0/gists{/gist_id}","starred_url":"https://api.github.com/users/chron0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chron0/subscriptions","organizations_url":"https://api.github.com/users/chron0/orgs","repos_url":"https://api.github.com/users/chron0/repos","events_url":"https://api.github.com/users/chron0/events{/privacy}","received_events_url":"https://api.github.com/users/chron0/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-04-22T09:00:44Z","updated_at":"2018-04-29T17:28:19Z","closed_at":null,"author_association":"NONE","body":"xmr-stak fails during compilation of the opencl code with **error: Illegal instruction detected: Operand has incorrect register class**. In order to test if this is a kernel/driver issue, I've tried https://github.com/genesismining/sgminer-gm, which works. Is there any way to let xmr-stak be more verbose about the compilation step to figure out why and where it is failing there?\r\n\r\n@gstoner, @justXi: do you have any ideas from ROCm perspective?  \r\n@justXi: Thanks for the ebuild submissions - no issues during emerge\r\n```\r\nvoyager /opt/xmr-stak/build9/bin # ./xmr-stak --noCPU --noNVIDIA                                                                                                                                                                                                     \r\n-------------------------------------------------------------------                                                                                                                                                                                                  \r\nxmr-stak 2.4.3 26a5d65                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  \r\n-------------------------------------------------------------------                                                                                                                                                                                                  \r\n[2018-04-22 08:31:16] : Mining coin: monero7                                                                                                                                                                                                                         \r\n[2018-04-22 08:31:16] : Compiling code and initializing GPUs. This will take a while...                                                                                                                                                                              \r\n[2018-04-22 08:31:16] : Device 0 work size 8 / 32.                                                                                                                                                                                                                   \r\n[2018-04-22 08:31:16] : OpenCL device 0 - Precompiled code /root/.openclcache/c5bddd8e20cae2624555ebaf2d7e44155ccecd7abdb00a1e22a7ea711f26e927.openclbin not found. Compiling ...                                                                                    \r\nerror: Illegal instruction detected: Operand has incorrect register class.                                                                                                            \r\n```\r\n\r\n# Basic information\r\n  - Intel(R) Xeon(R) CPU D-1587\r\n  - Sapphire Nitro+ Radeon RX Vega 64 (8GB)\r\n    - 06:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Vega 10 XT [Radeon RX Vega 64] (rev c1)\r\n  - gentoo 17.0/desktop (stable) - using  @justXi 1.7.x ROCm ebuilds and ROCM-1.7 kernel\r\n  - Version: xmr-stak/2.4.3/26a5d65/master/lin/nvidia-amd-cpu/aeon-cryptonight-monero/0\r\n\r\n# Autodeteced amd.conf values\r\n\r\n```\r\n\"gpu_threads_conf\" : [\r\n  // gpu: gfx900 memory:6821\r\n  // compute units: 64\r\n  { \"index\" : 0,\r\n    \"intensity\" : 1536, \"worksize\" : 8,\r\n    \"affine_to_cpu\" : false, \"strided_index\" : 1, \"mem_chunk\" : 2,\r\n    \"comp_mode\" : true\r\n  },\r\n\r\n],\r\n\r\n/*\r\n * Platform index. This will be 0 unless you have different OpenCL platform - eg. AMD and Intel.\r\n */\r\n\"platform_index\" : 0,\r\n```\r\n\r\n# Build Trace\r\n  ```\r\nvoyager /opt/xmr-stak/build9 # cmake ..                                                                                                                                                                                                                              \r\n-- The C compiler identification is GNU 6.4.0                                                                                                                                                                                                                        \r\n-- The CXX compiler identification is GNU 6.4.0                                                                                                                                                                                                                      \r\n-- Check for working C compiler: /usr/bin/cc                                                                                                                                                                                                                         \r\n-- Check for working C compiler: /usr/bin/cc -- works                                                                                                                                                                                                                \r\n-- Detecting C compiler ABI info                                                                                                                                                                                                                                     \r\n-- Detecting C compiler ABI info - done                                                                                                                                                                                                                              \r\n-- Detecting C compile features                                                                                                                                                                                                                                      \r\n-- Detecting C compile features - done                                                                                                                                                                                                                               \r\n-- Check for working CXX compiler: /usr/bin/c++                                                                                                                                                                                                                      \r\n-- Check for working CXX compiler: /usr/bin/c++ -- works                                                                                                                                                                                                             \r\n-- Detecting CXX compiler ABI info                                                                                                                                                                                                                                   \r\n-- Detecting CXX compiler ABI info - done                                                                                                                                                                                                                            \r\n-- Detecting CXX compile features                                                                                                                                                                                                                                    \r\n-- Detecting CXX compile features - done                                                                                                                                                                                                                             \r\n-- Looking for pthread.h                                                                                                                                                                                                                                             \r\n-- Looking for pthread.h - found                                                                                                                                                                                                                                     \r\n-- Looking for pthread_create                                                                                                                                                                                                                                        \r\n-- Looking for pthread_create - not found                                                                                                                                                                                                                            \r\n-- Looking for pthread_create in pthreads                                                                                                                                                                                                                            \r\n-- Looking for pthread_create in pthreads - not found                                                                                                                                                                                                                \r\n-- Looking for pthread_create in pthread                                                                                                                                                                                                                             \r\n-- Looking for pthread_create in pthread - found                                                                                                                                                                                                                     \r\n-- Found Threads: TRUE                                                                                                                                                                                                                                               \r\n-- Found CUDA: /opt/cuda (found suitable version \"9.1\", minimum required is \"7.5\")                                                                                                                                                                                   \r\n-- Looking for CL_VERSION_2_0                                                                                                                                                                                                                                        \r\n-- Looking for CL_VERSION_2_0 - found                                                                                                                                                                                                                                \r\n-- Found OpenCL: /usr/lib/libOpenCL.so (found version \"2.0\")                                                                                                                                                                                                         \r\n-- Found OpenSSL: /usr/lib64/libcrypto.so (found version \"1.0.2o\")                                                                                                                                                                                                   \r\n-- Configuring done                                                                                                                                                                                                                                                  \r\n-- Generating done                                                                                                                                                                                                                                                   \r\n-- Build files have been written to: /opt/xmr-stak/build9                                                                                                                                                                                                            \r\nvoyager /opt/xmr-stak/build9 # make -j4                                                                                                                                                                                                                              \r\nScanning dependencies of target xmr-stak-c                                                                                                                                                                                                                           \r\n[  5%] Building C object CMakeFiles/xmr-stak-c.dir/xmrstak/backend/cpu/crypto/c_blake256.c.o                                                                                                                                                                         \r\n[  5%] Building C object CMakeFiles/xmr-stak-c.dir/xmrstak/backend/cpu/crypto/c_groestl.c.o                                                                                                                                                                          \r\n[  8%] Building C object CMakeFiles/xmr-stak-c.dir/xmrstak/backend/cpu/crypto/c_jh.c.o                                                                                                                                                                               \r\n[ 11%] Building C object CMakeFiles/xmr-stak-c.dir/xmrstak/backend/cpu/crypto/c_keccak.c.o                                                                                                                                                                           \r\n[ 14%] Building C object CMakeFiles/xmr-stak-c.dir/xmrstak/backend/cpu/crypto/c_skein.c.o                                                                                                                                                                            \r\n[ 17%] Linking C static library bin/libxmr-stak-c.a                                                                                                                                                                                                                  \r\n[ 17%] Built target xmr-stak-c                                                                                                                                                                                                                                       \r\nScanning dependencies of target xmr-stak-backend                                                                                                                                                                                                                     \r\n[ 20%] Building CXX object CMakeFiles/xmr-stak-backend.dir/xmrstak/jconf.cpp.o                                                                                                                                                                                       \r\n[ 22%] Building CXX object CMakeFiles/xmr-stak-backend.dir/xmrstak/version.cpp.o                                                                                                                                                                                     \r\n[ 25%] Building CXX object CMakeFiles/xmr-stak-backend.dir/xmrstak/backend/cpu/hwlocMemory.cpp.o                                                                                                                                                                     \r\n[ 28%] Building CXX object CMakeFiles/xmr-stak-backend.dir/xmrstak/backend/cpu/jconf.cpp.o                                                                                                                                                                           \r\n[ 31%] Building CXX object CMakeFiles/xmr-stak-backend.dir/xmrstak/backend/cpu/minethd.cpp.o                                                                                                                                                                         \r\n[ 34%] Building CXX object CMakeFiles/xmr-stak-backend.dir/xmrstak/backend/backendConnector.cpp.o                                                                                                                                                                    \r\n[ 37%] Building CXX object CMakeFiles/xmr-stak-backend.dir/xmrstak/backend/globalStates.cpp.o                                                                                                                                                                        \r\n[ 40%] Building CXX object CMakeFiles/xmr-stak-backend.dir/xmrstak/backend/cpu/crypto/cryptonight_common.cpp.o                                                                                                                                                       \r\n[ 42%] Building CXX object CMakeFiles/xmr-stak-backend.dir/xmrstak/http/httpd.cpp.o                                                                                                                                                                                  \r\n[ 45%] Building CXX object CMakeFiles/xmr-stak-backend.dir/xmrstak/http/webdesign.cpp.o                                                                                                                                                                              \r\n[ 48%] Building CXX object CMakeFiles/xmr-stak-backend.dir/xmrstak/misc/console.cpp.o                                                                                                                                                                                \r\n[ 51%] Building CXX object CMakeFiles/xmr-stak-backend.dir/xmrstak/misc/executor.cpp.o                                                                                                                                                                               \r\n[ 54%] Building CXX object CMakeFiles/xmr-stak-backend.dir/xmrstak/misc/telemetry.cpp.o                                                                                                                                                                              \r\n[ 57%] Building CXX object CMakeFiles/xmr-stak-backend.dir/xmrstak/misc/uac.cpp.o                                                                                                                                                                                    \r\n[ 60%] Building CXX object CMakeFiles/xmr-stak-backend.dir/xmrstak/misc/utility.cpp.o                                                                                                                                                                                \r\n[ 62%] Building CXX object CMakeFiles/xmr-stak-backend.dir/xmrstak/net/jpsock.cpp.o                                                                                                                                                                                  \r\n[ 65%] Building CXX object CMakeFiles/xmr-stak-backend.dir/xmrstak/net/socket.cpp.o                                                                                                                                                                                  \r\n[ 68%] Linking CXX static library bin/libxmr-stak-backend.a                                                                                                                                                                                                          \r\n[ 68%] Built target xmr-stak-backend                                                                                                                                                                                                                                 \r\n[ 74%] Building NVCC (Device) object CMakeFiles/xmrstak_cuda_backend.dir/xmrstak/backend/nvidia/nvcc_code/xmrstak_cuda_backend_generated_cuda_extra.cu.o                                                                                                             \r\n[ 74%] Building NVCC (Device) object CMakeFiles/xmrstak_cuda_backend.dir/xmrstak/backend/nvidia/nvcc_code/xmrstak_cuda_backend_generated_cuda_core.cu.o                                                                                                              \r\nScanning dependencies of target xmrstak_opencl_backend                                                                                                                                                                                                               \r\nScanning dependencies of target xmr-stak                                                                                                                                                                                                                             \r\n[ 77%] Building CXX object CMakeFiles/xmr-stak.dir/xmrstak/cli/cli-miner.cpp.o                                                                                                                                                                                       \r\n[ 80%] Building CXX object CMakeFiles/xmrstak_opencl_backend.dir/xmrstak/backend/amd/amd_gpu/gpu.cpp.o                                                                                                                                                               \r\n[ 82%] Linking CXX executable bin/xmr-stak                                                                                                                                                                                                                           \r\n[ 82%] Built target xmr-stak                                                                                                                                                                                                                                         \r\n[ 85%] Building CXX object CMakeFiles/xmrstak_opencl_backend.dir/xmrstak/backend/amd/jconf.cpp.o                                                                                                                                                                     \r\n[ 88%] Building CXX object CMakeFiles/xmrstak_opencl_backend.dir/xmrstak/backend/amd/minethd.cpp.o                                                                                                                                                                   \r\n[ 91%] Linking CXX shared library bin/libxmrstak_opencl_backend.so                                                                                                                                                                                                   \r\n[ 91%] Built target xmrstak_opencl_backend                                                                                                                                                                                                                           \r\nScanning dependencies of target xmrstak_cuda_backend                                                                                                                                                                                                                 \r\n[ 97%] Building CXX object CMakeFiles/xmrstak_cuda_backend.dir/xmrstak/backend/nvidia/minethd.cpp.o                                                                                                                                                                  \r\n[ 97%] Building CXX object CMakeFiles/xmrstak_cuda_backend.dir/xmrstak/backend/nvidia/jconf.cpp.o                                                                                                                                                                    \r\n[100%] Linking CXX shared library bin/libxmrstak_cuda_backend.so                                                                                                                                                                                                     \r\n[100%] Built target xmrstak_cuda_backend                                                                                    \r\n  ```\r\n  ```                                                                                                                                                                                                                                        \r\nCMAKE_AR:FILEPATH=/usr/bin/ar                                                                                                                                                                                                                                        \r\nCMAKE_BUILD_TYPE:STRING=Release                                                                                                                                                                                                                                      \r\nCMAKE_COLOR_MAKEFILE:BOOL=ON                                                                                                                                                                                                                                         \r\nCMAKE_CXX_COMPILER:FILEPATH=/usr/bin/c++                                                                                                                                                                                                                             \r\nCMAKE_CXX_COMPILER_AR:FILEPATH=/usr/bin/gcc-ar                                                                                                                                                                                                                       \r\nCMAKE_CXX_COMPILER_RANLIB:FILEPATH=/usr/bin/gcc-ranlib                                                                                                                                                                                                               \r\nCMAKE_CXX_FLAGS:STRING=                                                                                                                                                                                                                                              \r\nCMAKE_CXX_FLAGS_DEBUG:STRING=-g                                                                                                                                                                                                                                      \r\nCMAKE_CXX_FLAGS_MINSIZEREL:STRING=-Os -DNDEBUG                                                                                                                                                                                                                       \r\nCMAKE_CXX_FLAGS_RELEASE:STRING=-O3 -DNDEBUG                                                                                                                                                                                                                          \r\nCMAKE_CXX_FLAGS_RELWITHDEBINFO:STRING=-O2 -g -DNDEBUG                                                                                                                                                                                                                \r\nCMAKE_C_COMPILER:FILEPATH=/usr/bin/cc                                                                                                                                                                                                                                \r\nCMAKE_C_COMPILER_AR:FILEPATH=/usr/bin/gcc-ar                                                                                                                                                                                                                         \r\nCMAKE_C_COMPILER_RANLIB:FILEPATH=/usr/bin/gcc-ranlib                                                                                                                                                                                                                 \r\nCMAKE_C_FLAGS:STRING=                                                                                                                                                                                                                                                \r\nCMAKE_C_FLAGS_DEBUG:STRING=-g                                                                                                                                                                                                                                        \r\nCMAKE_C_FLAGS_MINSIZEREL:STRING=-Os -DNDEBUG                                                                                                                                                                                                                         \r\nCMAKE_C_FLAGS_RELEASE:STRING=-O3 -DNDEBUG                                                                                                                                                                                                                            \r\nCMAKE_C_FLAGS_RELWITHDEBINFO:STRING=-O2 -g -DNDEBUG                                                                                                                                                                                                                  \r\nCMAKE_EXE_LINKER_FLAGS:STRING=                                                                                                                                                                                                                                       \r\nCMAKE_EXE_LINKER_FLAGS_DEBUG:STRING=                                                                                                                                                                                                                                 \r\nCMAKE_EXE_LINKER_FLAGS_MINSIZEREL:STRING=                                                                                                                                                                                                                            \r\nCMAKE_EXE_LINKER_FLAGS_RELEASE:STRING=                                                                                                                                                                                                                               \r\nCMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO:STRING=                                                                                                                                                                                                                        \r\nCMAKE_EXPORT_COMPILE_COMMANDS:BOOL=OFF                                                                                                                                                                                                                               \r\nCMAKE_INSTALL_PREFIX:PATH=/opt/xmr-stak                                                                                                                                                                                                                              \r\nCMAKE_LINKER:FILEPATH=/usr/bin/ld                                                                                                                                                                                                                                    \r\nCMAKE_LINK_STATIC:BOOL=OFF                                                                                                                                                                                                                                           \r\nCMAKE_MAKE_PROGRAM:FILEPATH=/usr/bin/gmake                                                                                                                                                                                                                           \r\nCMAKE_MODULE_LINKER_FLAGS:STRING=                                                                                                                                                                                                                                    \r\nCMAKE_MODULE_LINKER_FLAGS_DEBUG:STRING=                                                                                                                                                                                                                              \r\nCMAKE_MODULE_LINKER_FLAGS_MINSIZEREL:STRING=                                                                                                                                                                                                                         \r\nCMAKE_MODULE_LINKER_FLAGS_RELEASE:STRING=                                                                                                                                                                                                                            \r\nCMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO:STRING=                                                                                                                                                                                                                     \r\nCMAKE_NM:FILEPATH=/usr/bin/nm                                                                                                                                                                                                                                        \r\nCMAKE_OBJCOPY:FILEPATH=/usr/bin/objcopy                                                                                                                                                                                                                              \r\nCMAKE_OBJDUMP:FILEPATH=/usr/bin/objdump                                                                                                                                                                                                                              \r\nCMAKE_RANLIB:FILEPATH=/usr/bin/ranlib                                                                                                                                                                                                                                \r\nCMAKE_SHARED_LINKER_FLAGS:STRING=                                                                                                                                                                                                                                    \r\nCMAKE_SHARED_LINKER_FLAGS_DEBUG:STRING=                                                                                                                                                                                                                              \r\nCMAKE_SHARED_LINKER_FLAGS_MINSIZEREL:STRING=                                                                                                                                                                                                                         \r\nCMAKE_SHARED_LINKER_FLAGS_RELEASE:STRING=                                                                                                                                                                                                                            \r\nCMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO:STRING=                                                                                                                                                                                                                     \r\nCMAKE_SKIP_INSTALL_RPATH:BOOL=NO                                                                                                                                                                                                                                     \r\nCMAKE_SKIP_RPATH:BOOL=NO                                                                                                                                                                                                                                             \r\nCMAKE_STATIC_LINKER_FLAGS:STRING=                                                                                                                                                                                                                                    \r\nCMAKE_STATIC_LINKER_FLAGS_DEBUG:STRING=                                                                                                                                                                                                                              \r\nCMAKE_STATIC_LINKER_FLAGS_MINSIZEREL:STRING=                                                                                                                                                                                                                         \r\nCMAKE_STATIC_LINKER_FLAGS_RELEASE:STRING=                                                                                                                                                                                                                            \r\nCMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO:STRING=                                                                                                                                                                                                                     \r\nCMAKE_STRIP:FILEPATH=/usr/bin/strip                                                                                                                                                                                                                                  \r\nCMAKE_VERBOSE_MAKEFILE:BOOL=FALSE                                                                                                                                                                                                                                    \r\nCPU_ENABLE:BOOL=ON                                                                                                                                                                                                                                                   \r\nCUDA_64_BIT_DEVICE_CODE:BOOL=ON                                                                                                                                                                                                                                      \r\nCUDA_ARCH:STRING=30;35;37;50;52;60;61;62;70                                                                                                                                                                                                                          \r\nCUDA_ATTACH_VS_BUILD_RULE_TO_CUDA_FILE:BOOL=ON                                                                                                                                                                                                                       \r\nCUDA_BUILD_CUBIN:BOOL=OFF                                                                                                                                                                                                                                            \r\nCUDA_BUILD_EMULATION:BOOL=OFF                                                                                                                                                                                                                                        \r\nCUDA_COMPILER:STRING=nvcc                                                                                                                                                                                                                                            \r\nCUDA_CUDART_LIBRARY:FILEPATH=/opt/cuda/lib64/libcudart.so                                                                                                                                                                                                            \r\nCUDA_CUDA_LIBRARY:FILEPATH=/usr/lib/libcuda.so                                                                                                                                                                                                                       \r\nCUDA_ENABLE:BOOL=ON                                                                                                                                                                                                                                                  \r\nCUDA_GENERATED_OUTPUT_DIR:PATH=                                                                                                                                                                                                                                      \r\nCUDA_HOST_COMPILATION_CPP:BOOL=ON                                                                                                                                                                                                                                    \r\nCUDA_HOST_COMPILER:FILEPATH=/usr/bin/cc                                                                                                                                                                                                                              \r\nCUDA_KEEP_FILES:BOOL=OFF                                                                                                                                                                                                                                             \r\nCUDA_NVCC_EXECUTABLE:FILEPATH=/opt/cuda/bin/nvcc                                                                                                                                                                                                                     \r\nCUDA_NVCC_FLAGS:STRING=                                                                                                                                                                                                                                              \r\nCUDA_NVCC_FLAGS_DEBUG:STRING=                                                                                                                                                                                                                                        \r\nCUDA_NVCC_FLAGS_MINSIZEREL:STRING=                                                                                                                                                                                                                                   \r\nCUDA_NVCC_FLAGS_RELEASE:STRING=                                                                                                                                                                                                                                      \r\nCUDA_NVCC_FLAGS_RELWITHDEBINFO:STRING=                                                                                                                                                                                                                               \r\nCUDA_PROPAGATE_HOST_FLAGS:BOOL=ON                                                                                                                                                                                                                                    \r\nCUDA_SDK_ROOT_DIR:PATH=CUDA_SDK_ROOT_DIR-NOTFOUND                                                                                                                                                                                                                    \r\nCUDA_SEPARABLE_COMPILATION:BOOL=OFF                                                                                                                                                                                                                                  \r\nCUDA_SHOW_CODELINES:BOOL=OFF                                                                                                                                                                                                                                         \r\nCUDA_SHOW_REGISTER:BOOL=OFF                                                                                                                                                                                                                                          \r\nCUDA_TOOLKIT_INCLUDE:PATH=/opt/cuda/include                                                                                                                                                                                                                          \r\nCUDA_TOOLKIT_ROOT_DIR:PATH=/opt/cuda                                                                                                                                                                                                                                 \r\nCUDA_USE_STATIC_CUDA_RUNTIME:BOOL=ON                                                                                                                                                                                                                                 \r\nCUDA_VERBOSE_BUILD:BOOL=OFF                                                                                                                                                                                                                                          \r\nCUDA_VERSION:STRING=9.1                                                                                                                                                                                                                                              \r\nCUDA_cublas_LIBRARY:FILEPATH=/opt/cuda/lib64/libcublas.so                                                                                                                                                                                                            \r\nCUDA_cublas_device_LIBRARY:FILEPATH=/opt/cuda/lib64/libcublas_device.a                                                                                                                                                                                               \r\nCUDA_cudadevrt_LIBRARY:FILEPATH=/opt/cuda/lib64/libcudadevrt.a                                                                                                                                                                                                       \r\nCUDA_cudart_static_LIBRARY:FILEPATH=/opt/cuda/lib64/libcudart_static.a                                                                                                                                                                                               \r\nCUDA_cufft_LIBRARY:FILEPATH=/opt/cuda/lib64/libcufft.so                                                                                                                                                                                                              \r\nCUDA_cupti_LIBRARY:FILEPATH=CUDA_cupti_LIBRARY-NOTFOUND                                                                                                                                                                                                              \r\nCUDA_curand_LIBRARY:FILEPATH=/opt/cuda/lib64/libcurand.so                                                                                                                                                                                                            \r\nCUDA_cusolver_LIBRARY:FILEPATH=/opt/cuda/lib64/libcusolver.so                                                                                                                                                                                                        \r\nCUDA_cusparse_LIBRARY:FILEPATH=/opt/cuda/lib64/libcusparse.so                                                                                                                                                                                                        \r\nCUDA_nppc_LIBRARY:FILEPATH=/opt/cuda/lib64/libnppc.so                                                                                                                                                                                                                \r\nCUDA_nppi_LIBRARY:FILEPATH=CUDA_nppi_LIBRARY-NOTFOUND                                                                                                                                                                                                                \r\nCUDA_npps_LIBRARY:FILEPATH=/opt/cuda/lib64/libnpps.so                                                                                                                                                                                                                \r\nCUDA_rt_LIBRARY:FILEPATH=/usr/lib/librt.so                                                                                                                                                                                                                           \r\nEXECUTABLE_OUTPUT_PATH:STRING=bin                                                                                                                                                                                                                                    \r\nHWLOC:FILEPATH=/usr/lib/libhwloc.so                                                                                                                                                                                                                                  \r\nHWLOC_ENABLE:BOOL=ON                                                                                                                                                                                                                                                 \r\nHWLOC_INCLUDE_DIR:PATH=/usr/include                                                                                                                                                                                                                                  \r\nLIBRARY_OUTPUT_PATH:STRING=bin                                                                                                                                                                                                                                       \r\nMHTD:FILEPATH=/usr/lib/libmicrohttpd.so                                                                                                                                                                                                                              \r\nMICROHTTPD_ENABLE:BOOL=ON                                                                                                                                                                                                                                            \r\nMTHD_INCLUDE_DIR:PATH=/usr/include                                                                                                                                                                                                                                   \r\nOPENSSL_CRYPTO_LIBRARY:FILEPATH=/usr/lib64/libcrypto.so                                                                                                                                                                                                              \r\nOPENSSL_INCLUDE_DIR:PATH=/usr/include                                                                                                                                                                                                                                \r\nOPENSSL_SSL_LIBRARY:FILEPATH=/usr/lib64/libssl.so                                                                                                                                                                                                                    \r\nOpenCL_ENABLE:BOOL=ON                                                                                                                                                                                                                                                \r\nOpenCL_INCLUDE_DIR:PATH=/usr/include                                                                                                                                                                                                                                 \r\nOpenCL_LIBRARY:FILEPATH=/usr/lib/libOpenCL.so                                                                                                                                                                                                                        \r\nOpenSSL_ENABLE:BOOL=ON                                                                                                                                                                                                                                               \r\nPKG_CONFIG_EXECUTABLE:FILEPATH=/usr/bin/pkg-config                                                                                                                                                                                                                   \r\nXMR-STAK_COMPILE:STRING=native                                                                                                                                                                                                                                       \r\nXMR-STAK_LARGEGRID:BOOL=ON                                                                                                                                                                                                                                           \r\nXMR-STAK_THREADS:STRING=0                                             \r\n  ```\r\n# clinfo\r\n  ```\r\nNumber of platforms                               2                                                                                                                                                                                                                  \r\n  Platform Name                                   AMD Accelerated Parallel Processing                                                                                                                                                                                \r\n  Platform Vendor                                 Advanced Micro Devices, Inc.                                                                                                                                                                                       \r\n  Platform Version                                OpenCL 2.0 AMD-APP.internal.dbg (2528.0)                                                                                                                                                                           \r\n  Platform Profile                                FULL_PROFILE                                                                                                                                                                                                       \r\n  Platform Extensions                             cl_khr_icd cl_amd_object_metadata cl_amd_event_callback                                                                                                                                                            \r\n  Platform Max metadata object keys (AMD)         8                                                                                                                                                                                                                  \r\n  Platform Extensions function suffix             AMD                                                                                                                                                                                                                \r\n                                                                                                                                                                                                                                                                     \r\n  Platform Name                                   NVIDIA CUDA                                                                                                                                                                                                        \r\n  Platform Vendor                                 NVIDIA Corporation                                                                                                                                                                                                 \r\n  Platform Version                                OpenCL 1.2 CUDA 9.1.84                                                                                                                                                                                             \r\n  Platform Profile                                FULL_PROFILE                                                                                                                                                                                                       \r\n  Platform Extensions                             cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_khr_fp64 cl_khr_byte_addressable_store cl_khr_icd cl_khr_gl_sharing cl_nv_compiler_options cl_nv_device_attribute_query cl_nv_pragma_unroll cl_nv_copy_opts cl_nv_create_buffer                                                                                                                                                             \r\n  Platform Extensions function suffix             NV                                                                                                                                                                                                                 \r\n                                                                                                                                                                                                                                                                     \r\n  Platform Name                                   AMD Accelerated Parallel Processing                                                                                                                                                                                \r\nNumber of devices                                 1                                                                                                                                                                                                                  \r\n  Device Name                                     gfx900                                                                                                                                                                                                             \r\n  Device Vendor                                   Advanced Micro Devices, Inc.                                                                                                                                                                                       \r\n  Device Vendor ID                                0x1002                                                                                                                                                                                                             \r\n  Device Version                                  OpenCL 1.2                                                                                                                                                                                                         \r\n  Driver Version                                  2528.0 (HSA1.1,LC)                                                                                                                                                                                                 \r\n  Device OpenCL C Version                         OpenCL C 2.0                                                                                                                                                                                                       \r\n  Device Type                                     GPU                                                                                                                                                                                                                \r\n  Device Board Name (AMD)                         Vega 10 XT [Radeon RX Vega 64]                                                                                                                                                                                     \r\n  Device Topology (AMD)                           PCI-E, 06:00.0                                                                                                                                                                                                     \r\n  Device Profile                                  FULL_PROFILE                                                                                                                                                                                                       \r\n  Device Available                                Yes                                                                                                                                                                                                                \r\n  Compiler Available                              Yes                                                                                                                                                                                                                \r\n  Linker Available                                Yes                                                                                                                                                                                                                \r\n  Max compute units                               64                                                                                                                                                                                                                 \r\n  SIMD per compute unit (AMD)                     4                                                                                                                                                                                                                  \r\n  SIMD width (AMD)                                16                                                                                                                                                                                                                 \r\n  SIMD instruction width (AMD)                    1                                                                                                                                                                                                                  \r\n  Max clock frequency                             1630MHz                                                                                                                                                                                                            \r\n  Graphics IP (AMD)                               9.0                                                                                                                                                                                                                \r\n  Device Partition                                (core)                                                                                                                                                                                                             \r\n    Max number of sub-devices                     64                                                                                                                                                                                                                 \r\n    Supported partition types                     (n/a)                                                                                                                                                                                                              \r\n    Supported affinity domains                    (n/a)                                                                                                                                                                                                              \r\n  Max work item dimensions                        3                                                                                                                                                                                                                  \r\n  Max work item sizes                             1024x1024x1024                                                                                                                                                                                                     \r\n  Max work group size                             256                                                                                                                                                                                                                \r\n  Preferred work group size (AMD)                 256                                                                                                                                                                                                                \r\n  Max work group size (AMD)                       1024                                                                                                                                                                                                               \r\n  Preferred work group size multiple              64                                                                                                                                                                                                                 \r\n  Wavefront width (AMD)                           64                                                                                                                                                                                                                 \r\n  Preferred / native vector sizes                                                                                                                                                                                                                                    \r\n    char                                                 4 / 4                                                                                                                                                                                                       \r\n    short                                                2 / 2                                                                                                                                                                                                       \r\n    int                                                  1 / 1                                                                                                                                                                                                       \r\n    long                                                 1 / 1                                                                                                                                                                                                       \r\n    half                                                 1 / 1        (cl_khr_fp16)                                                                                                                                                                                  \r\n    float                                                1 / 1                                                                                                                                                                                                       \r\n    double                                               1 / 1        (cl_khr_fp64)                                                                                                                                                                                  \r\n  Half-precision Floating-point support           (cl_khr_fp16)                                                                                                                                                                                                      \r\n    Denormals                                     No                                                                                                                                                                                                                 \r\n    Infinity and NANs                             No                                                                                                                                                                                                                 \r\n    Round to nearest                              No                                                                                                                                                                                                                 \r\n    Round to zero                                 No                                                                                                                                                                                                                 \r\n    Round to infinity                             No                                                                                                                                                                                                                 \r\n    IEEE754-2008 fused multiply-add               No                                                                                                                                                                                                                 \r\n    Support is emulated in software               No                                                                                                                                                                                                                 \r\n  Single-precision Floating-point support         (core)                                                                                                                                                                                                             \r\n    Denormals                                     Yes                                                                                                                                                                                                                \r\n    Infinity and NANs                             Yes                                                                                                                                                                                                                \r\n    Round to nearest                              Yes                                                                                                                                                                                                                \r\n    Round to zero                                 Yes                                                                                                                                                                                                                \r\n    Round to infinity                             Yes                                                                                                                                                                                                                \r\n    IEEE754-2008 fused multiply-add               Yes                                                                                                                                                                                                                \r\n    Support is emulated in software               No                                                                                                                                                                                                                 \r\n    Correctly-rounded divide and sqrt operations  Yes                                                                                                                                                                                                                \r\n  Double-precision Floating-point support         (cl_khr_fp64)                                                                                                                                                                                                      \r\n    Denormals                                     Yes                                                                                                                                                                                                                \r\n    Infinity and NANs                             Yes                                                                                                                                                                                                                \r\n    Round to nearest                              Yes                                                                                                                                                                                                                \r\n    Round to zero                                 Yes                                                                                                                                                                                                                \r\n    Round to infinity                             Yes                                                                                                                                                                                                                \r\n    IEEE754-2008 fused multiply-add               Yes                                                                                                                                                                                                                \r\n    Support is emulated in software               No                                                                                                                                                                                                                 \r\n  Address bits                                    64, Little-Endian                                                                                                                                                                                                  \r\n  Global memory size                              8573157376 (7.984GiB)                                                                                                                                                                                              \r\n  Global free memory (AMD)                        8370176 (7.982GiB)                                                                                                                                                                                                 \r\n  Global memory channels (AMD)                    64                                                                                                                                                                                                                 \r\n  Global memory banks per channel (AMD)           4                                                                                                                                                                                                                  \r\n  Global memory bank width (AMD)                  256 bytes                                                                                                                                                                                                          \r\n  Error Correction support                        No                                                                                                                                                                                                                 \r\n  Max memory allocation                           7287183769 (6.787GiB)                                                                                                                                                                                              \r\n  Unified memory for Host and Device              No                                                                                                                                                                                                                 \r\n  Minimum alignment for any data type             128 bytes                                                                                                                                                                                                          \r\n  Alignment of base address                       1024 bits (128 bytes)                                                                                                                                                                                              \r\n  Global Memory cache type                        Read/Write                                                                                                                                                                                                         \r\n  Global Memory cache size                        16384 (16KiB)                                                                                                                                                                                                      \r\n  Global Memory cache line size                   64 bytes                                                                                                                                                                                                           \r\n  Image support                                   No                                                                                                                                                                                                                 \r\n  Local memory type                               Local                                                                                                                                                                                                              \r\n  Local memory size                               65536 (64KiB)                                                                                                                                                                                                      \r\n  Local memory syze per CU (AMD)                  65536 (64KiB)                                                                                                                                                                                                      \r\n  Local memory banks (AMD)                        32                                                                                                                                                                                                                 \r\n  Max number of constant args                     8                                                                                                                                                                                                                  \r\n  Max constant buffer size                        7287183769 (6.787GiB)                                                                                                                                                                                              \r\n  Preferred constant buffer size (AMD)            16384 (16KiB)                                                                                                                                                                                                      \r\n  Max size of kernel argument                     1024                                                                                                                                                                                                               \r\n  Queue properties                                                                                                                                                                                                                                                   \r\n    Out-of-order execution                        No                                                                                                                                                                                                                 \r\n    Profiling                                     Yes                                                                                                                                                                                                                \r\n  Prefer user sync for interop                    Yes                                                                                                                                                                                                                \r\n  Number of P2P devices (AMD)                     0                                                                                                                                                                                                                  \r\n  P2P devices (AMD)                               (n/a)                                                                                                                                                                                                              \r\n  Profiling timer resolution                      1ns                                                                                                                                                                                                                \r\n  Profiling timer offset since Epoch (AMD)        0ns (Thu Jan  1 00:00:00 1970)                                                                                                                                                                                     \r\n  Execution capabilities                                                                                                                                                                                                                                             \r\n    Run OpenCL kernels                            Yes                                                                                                                                                                                                                \r\n    Run native kernels                            No                                                                                                                                                                                                                 \r\n    Thread trace supported (AMD)                  No                                                                                                                                                                                                                 \r\n    Number of async queues (AMD)                  8                                                                                                                                                                                                                  \r\n    Max real-time compute queues (AMD)            8                                                                                                                                                                                                                  \r\n    Max real-time compute units (AMD)             64                                                                                                                                                                                                                 \r\n  printf() buffer size                            4194304 (4MiB)                                                                                                                                                                                                     \r\n  Built-in kernels                                (n/a)                                                                                                                                                                                                              \r\n  Device Extensions                               cl_khr_fp64 cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_khr_int64_base_atomics cl_khr_int64_extended_atomics cl_khr_3d_image_writes cl_khr_byte_addressable_store cl_khr_fp16 cl_khr_gl_sharing cl_amd_device_attribute_query cl_amd_media_ops cl_amd_media_ops2 cl_khr_subgroups cl_khr_depth_images cl_amd_liquid_flash cl_amd_copy_buffer_p2p                                        \r\n                                                                                                                                                                                                                                                                     \r\n  Platform Name                                   NVIDIA CUDA                                                                                                                                                                                                        \r\nNumber of devices                                 1                                                                                                                                                                                                                  \r\n  Device Name                                     GeForce GTX 1070 Ti                                                                                                                                                                                                \r\n  Device Vendor                                   NVIDIA Corporation                                                                                                                                                                                                 \r\n  Device Vendor ID                                0x10de                                                                                                                                                                                                             \r\n  Device Version                                  OpenCL 1.2 CUDA                                                                                                                                                                                                    \r\n  Driver Version                                  390.42                                                                                                                                                                                                             \r\n  Device OpenCL C Version                         OpenCL C 1.2                                                                                                                                                                                                       \r\n  Device Type                                     GPU                                                                                                                                                                                                                \r\n  Device Topology (NV)                            PCI-E, 01:00.0                                                                                                                                                                                                     \r\n  Device Profile                                  FULL_PROFILE                                                                                                                                                                                                       \r\n  Device Available                                Yes                                                                                                                                                                                                                \r\n  Compiler Available                              Yes                                                                                                                                                                                                                \r\n  Linker Available                                Yes                                                                                                                                                                                                                \r\n  Max compute units                               19                                                                                                                                                                                                                 \r\n  Max clock frequency                             1683MHz                                                                                                                                                                                                            \r\n  Compute Capability (NV)                         6.1                                                                                                                                                                                                                \r\n  Device Partition                                (core)                                                                                                                                                                                                             \r\n    Max number of sub-devices                     1                                                                                                                                                                                                                  \r\n    Supported partition types                     None                                                                                                                                                                                                               \r\n    Supported affinity domains                    (n/a)                                                                                                                                                                                                              \r\n  Max work item dimensions                        3                                                                                                                                                                                                                  \r\n  Max work item sizes                             1024x1024x64                                                                                                                                                                                                       \r\n  Max work group size                             1024                                                                                                                                                                                                               \r\n  Preferred work group size multiple              32                                                                                                                                                                                                                 \r\n  Warp size (NV)                                  32                                                                                                                                                                                                                 \r\n  Preferred / native vector sizes                                                                                                                                                                                                                                    \r\n    char                                                 1 / 1                                                                                                                                                                                                       \r\n    short                                                1 / 1                                                                                                                                                                                                       \r\n    int                                                  1 / 1                                                                                                                                                                                                       \r\n    long                                                 1 / 1                                                                                                                                                                                                       \r\n    half                                                 0 / 0        (n/a)                                                                                                                                                                                          \r\n    float                                                1 / 1                                                                                                                                                                                                       \r\n    double                                               1 / 1        (cl_khr_fp64)                                                                                                                                                                                  \r\n  Half-precision Floating-point support           (n/a)                                                                                                                                                                                                              \r\n  Single-precision Floating-point support         (core)                                                                                                                                                                                                             \r\n    Denormals                                     Yes                                                                                                                                                                                                                \r\n    Infinity and NANs                             Yes                                                                                                                                                                                                                \r\n    Round to nearest                              Yes                                                                                                                                                                                                                \r\n    Round to zero                                 Yes                                                                                                                                                                                                                \r\n    Round to infinity                             Yes                                                                                                                                                                                                                \r\n    IEEE754-2008 fused multiply-add               Yes                                                                                                                                                                                                                \r\n    Support is emulated in software               No                                                                                                                                                                                                                 \r\n    Correctly-rounded divide and sqrt operations  Yes                                                                                                                                                                                                                \r\n  Double-precision Floating-point support         (cl_khr_fp64)                                                                                                                                                                                                      \r\n    Denormals                                     Yes                                                                                                                                                                                                                \r\n    Infinity and NANs                             Yes                                                                                                                                                                                                                \r\n    Round to nearest                              Yes                                                                                                                                                                                                                \r\n    Round to zero                                 Yes                                                                                                                                                                                                                \r\n    Round to infinity                             Yes                                                                                                                                                                                                                \r\n    IEEE754-2008 fused multiply-add               Yes                                                                                                                                                                                                                \r\n    Support is emulated in software               No                                                                                                                                                                                                                 \r\n  Address bits                                    64, Little-Endian                                                                                                                                                                                                  \r\n  Global memory size                              8513978368 (7.929GiB)                                                                                                                                                                                              \r\n  Error Correction support                        No                                                                                                                                                                                                                 \r\n  Max memory allocation                           2128494592 (1.982GiB)                                                                                                                                                                                              \r\n  Unified memory for Host and Device              No                                                                                                                                                                                                                 \r\n  Integrated memory (NV)                          No                                                                                                                                                                                                                 \r\n  Minimum alignment for any data type             128 bytes                                                                                                                                                                                                          \r\n  Alignment of base address                       4096 bits (512 bytes)                                                                                                                                                                                              \r\n  Global Memory cache type                        Read/Write                                                                                                                                                                                                         \r\n  Global Memory cache size                        311296 (304KiB)                                                                                                                                                                                                    \r\n  Global Memory cache line size                   128 bytes                                                                                                                                                                                                          \r\n  Image support                                   Yes                                                                                                                                                                                                                \r\n    Max number of samplers per kernel             32                                                                                                                                                                                                                 \r\n    Max size for 1D images from buffer            134217728 pixels                                                                                                                                                                                                   \r\n    Max 1D or 2D image array size                 2048 images                                                                                                                                                                                                        \r\n    Max 2D image size                             16384x32768 pixels                                                                                                                                                                                                 \r\n    Max 3D image size                             16384x16384x16384 pixels                                                                                                                                                                                           \r\n    Max number of read image args                 256                                                                                                                                                                                                                \r\n    Max number of write image args                16                                                                                                                                                                                                                 \r\n  Local memory type                               Local                                                                                                                                                                                                              \r\n  Local memory size                               49152 (48KiB)                                                                                                                                                                                                      \r\n  Registers per block (NV)                        65536                                                                                                                                                                                                              \r\n  Max number of constant args                     9                                                                                                                                                                                                                  \r\n  Max constant buffer size                        65536 (64KiB)                                                                                                                                                                                                      \r\n  Max size of kernel argument                     4352 (4.25KiB)                                                                                                                                                                                                     \r\n  Queue properties                                                                                                                                                                                                                                                   \r\n    Out-of-order execution                        Yes                                                                                                                                                                                                                \r\n    Profiling                                     Yes                                                                                                                                                                                                                \r\n  Prefer user sync for interop                    No                                                                                                                                                                                                                 \r\n  Profiling timer resolution                      1000ns                                                                                                                                                                                                             \r\n  Execution capabilities                                                                                                                                                                                                                                             \r\n    Run OpenCL kernels                            Yes                                                                                                                                                                                                                \r\n    Run native kernels                            No                                                                                                                                                                                                                 \r\n    Kernel execution timeout (NV)                 No                                                                                                                                                                                                                 \r\n  Concurrent copy and kernel execution (NV)       Yes                                                                                                                                                                                                                \r\n    Number of async copy engines                  2                                                                                                                                                                                                                  \r\n  printf() buffer size                            1048576 (1024KiB)                                                                                                                                                                                                  \r\n  Built-in kernels                                (n/a)                                                                                                                                                                                                              \r\n  Device Extensions                               cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_khr_fp64 cl_khr_byte_addressable_store cl_khr_icd cl_khr_gl_sharing cl_nv_compiler_options cl_nv_device_attribute_query cl_nv_pragma_unroll cl_nv_copy_opts cl_nv_create_buffer                                                                                                                                                             \r\n                                                                                                                                                                                                                                                                     \r\n                                                                                                                                                                                                                                                                     \r\nNULL platform behavior                                                                                                                                                                                                                                               \r\n  clGetPlatformInfo(NULL, CL_PLATFORM_NAME, ...)  No platform                                                                                                                                                                                                        \r\n  clGetDeviceIDs(NULL, CL_DEVICE_TYPE_ALL, ...)   No platform                                                                                                                                                                                                        \r\n  clCreateContext(NULL, ...) [default]            No platform                                                                                                                                                                                                        \r\n  clCreateContext(NULL, ...) [other]              Success [AMD]                                                                                                                                                                                                      \r\n  clCreateContextFromType(NULL, CL_DEVICE_TYPE_DEFAULT)  Success (1)                                                                                                                                                                                                 \r\n    Platform Name                                 AMD Accelerated Parallel Processing                                                                                                                                                                                \r\n    Device Name                                   gfx900                                                                                                                                                                                                             \r\n  clCreateContextFromType(NULL, CL_DEVICE_TYPE_CPU)  No devices found in platform                                                                                                                                                                                    \r\n  clCreateContextFromType(NULL, CL_DEVICE_TYPE_GPU)  Success (1)                                                                                                                                                                                                     \r\n    Platform Name                                 AMD Accelerated Parallel Processing                                                                                                                                                                                \r\n    Device Name                                   gfx900                                                                                                                                                                                                             \r\n  clCreateContextFromType(NULL, CL_DEVICE_TYPE_ACCELERATOR)  No devices found in platform                                                                                                                                                                            \r\n  clCreateContextFromType(NULL, CL_DEVICE_TYPE_CUSTOM)  No devices found in platform                                                                                                                                                                                 \r\n  clCreateContextFromType(NULL, CL_DEVICE_TYPE_ALL)  Success (1)                                                                                                                                                                                                     \r\n    Platform Name                                 AMD Accelerated Parallel Processing                                                                                                                                                                                \r\n    Device Name                                   gfx900                               \r\n  ```\r\n# Modules\r\n\r\n```\r\nModule                  Size  Used by\r\nnvidia_uvm            675840  4\r\next2                   57344  1\r\ndm_mod                 98304  0\r\ndax                    20480  1 dm_mod\r\nipmi_ssif              24576  0\r\nx86_pkg_temp_thermal    16384  0\r\nkvm_intel             188416  0\r\nkvm                   491520  1 kvm_intel\r\nirqbypass              16384  1 kvm\r\naesni_intel           184320  0\r\ncp210x                 20480  0\r\nusbserial              28672  1 cp210x\r\namdkfd                126976  3\r\nnvidia_drm             32768  1\r\naes_x86_64             20480  1 aesni_intel\r\nnvidia_modeset       1069056  3 nvidia_drm\r\namdgpu               2154496  2\r\nnvidia              13799424  348 nvidia_modeset,nvidia_uvm\r\nttm                    81920  1 amdgpu\r\nbacklight              16384  1 amdgpu\r\ncoretemp               16384  0\r\ncrypto_simd            16384  1 aesni_intel\r\nigb                   155648  0\r\ncryptd                 20480  2 crypto_simd,aesni_intel\r\nglue_helper            16384  1 aesni_intel\r\nipmi_si                53248  0\r\nipmi_devintf           20480  0\r\nipmi_msghandler        36864  4 nvidia,ipmi_ssif,ipmi_devintf,ipmi_si\r\n```\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/fireice-uk/xmr-stak/issues/comments/385267199","html_url":"https://github.com/fireice-uk/xmr-stak/issues/1485#issuecomment-385267199","issue_url":"https://api.github.com/repos/fireice-uk/xmr-stak/issues/1485","id":385267199,"user":{"login":"3ullShark","id":4031207,"avatar_url":"https://avatars3.githubusercontent.com/u/4031207?v=4","gravatar_id":"","url":"https://api.github.com/users/3ullShark","html_url":"https://github.com/3ullShark","followers_url":"https://api.github.com/users/3ullShark/followers","following_url":"https://api.github.com/users/3ullShark/following{/other_user}","gists_url":"https://api.github.com/users/3ullShark/gists{/gist_id}","starred_url":"https://api.github.com/users/3ullShark/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/3ullShark/subscriptions","organizations_url":"https://api.github.com/users/3ullShark/orgs","repos_url":"https://api.github.com/users/3ullShark/repos","events_url":"https://api.github.com/users/3ullShark/events{/privacy}","received_events_url":"https://api.github.com/users/3ullShark/received_events","type":"User","site_admin":false},"created_at":"2018-04-29T17:28:19Z","updated_at":"2018-04-29T17:28:19Z","author_association":"NONE","body":"@chron0 not sure if this will help but this is what I did to get it compiling with the ROCm drivers.\r\n\r\n1. Don't install the AMD SDK.\r\n2. Install the ROCm drivers following the steps on the [GitHub Repo](https://github.com/RadeonOpenCompute/ROCm).\r\n3. Follow xmr-stak compile steps found in Linux docs but pass the include and library paths to cmake to the ROCm install location. See below:\r\n\r\n```\r\n# Ubuntu 16.04.4 LTS (GNU/Linux 4.13.0-39-generic x86_64)\r\nsudo apt install libmicrohttpd-dev libssl-dev cmake build-essential libhwloc-dev\r\ngit clone https://github.com/fireice-uk/xmr-stak.git\r\nmkdir xmr-stak/build\r\ncd xmr-stak/build\r\ncmake .. -DCUDA_ENABLE=OFF -DOpenCL_INCLUDE_DIR=/opt/rocm/opencl/include/ -DOpenCL_LIBRARY=/opt/rocm/opencl/lib/x86_64/libOpenCL.so\r\nmake install\r\n```\r\n\r\nI used a clean install of Ubuntu 16.04 with following hardware:\r\n\r\n- ASUS Z97-K Motherboard\r\n- Intel 4790K\r\n- 2 x Vega 56\r\n\r\nxmr-stak runs ok (about 1200 H/s) Only problem is I can't get more than one GPU to be detected by xmr-stak or `/opt/rocm/opencl/bin/x86_64/clinfo`."}}
{"actor":{"display_login":"3ullShark"}}