diff options
Diffstat (limited to 'xmrstak/backend/amd/amd_gpu')
-rw-r--r-- | xmrstak/backend/amd/amd_gpu/gpu.cpp | 4 | ||||
-rw-r--r-- | xmrstak/backend/amd/amd_gpu/gpu.hpp | 3 |
2 files changed, 3 insertions, 4 deletions
diff --git a/xmrstak/backend/amd/amd_gpu/gpu.cpp b/xmrstak/backend/amd/amd_gpu/gpu.cpp index 04e442a..deb0fc7 100644 --- a/xmrstak/backend/amd/amd_gpu/gpu.cpp +++ b/xmrstak/backend/amd/amd_gpu/gpu.cpp @@ -23,7 +23,6 @@ #ifdef _WIN32 #include <windows.h> -const char* sSourcePath = "opencl\\cryptonight.cl"; static inline void port_sleep(size_t sec) { @@ -31,7 +30,6 @@ static inline void port_sleep(size_t sec) } #else #include <unistd.h> -const char* sSourcePath = "opencl/cryptonight.cl"; static inline void port_sleep(size_t sec) { @@ -46,7 +44,7 @@ static inline long long unsigned int int_port(size_t i) } #endif -#include "gpu.h" +#include "gpu.hpp" const char* err_to_str(cl_int ret) { diff --git a/xmrstak/backend/amd/amd_gpu/gpu.hpp b/xmrstak/backend/amd/amd_gpu/gpu.hpp index 8a71cfa..5ff7ea1 100644 --- a/xmrstak/backend/amd/amd_gpu/gpu.hpp +++ b/xmrstak/backend/amd/amd_gpu/gpu.hpp @@ -1,5 +1,7 @@ #pragma once +#include "xmrstak/misc/console.hpp" + #if defined(__APPLE__) #include <OpenCL/cl.h> #else @@ -8,7 +10,6 @@ #include <stdint.h> #include <vector> -#include "../../../console.h" #define ERR_SUCCESS (0) #define ERR_OCL_API (2) |