summaryrefslogtreecommitdiffstats
path: root/xmrstak/backend/amd/amd_gpu/gpu.cpp
diff options
context:
space:
mode:
authorpsychocrypt <psychocrypt@users.noreply.github.com>2017-09-29 21:43:43 +0200
committerpsychocrypt <psychocrypt@users.noreply.github.com>2017-09-30 23:46:08 +0200
commit8babae3156430f5aa6b804f7c352ffb178097963 (patch)
tree6c09c50e518c1d6342c06b3890f71043fc0e90b5 /xmrstak/backend/amd/amd_gpu/gpu.cpp
parent4526840bb6347eaed7d80a807357f969f9c68a40 (diff)
downloadxmr-stak-8babae3156430f5aa6b804f7c352ffb178097963.zip
xmr-stak-8babae3156430f5aa6b804f7c352ffb178097963.tar.gz
cleanup includes
Diffstat (limited to 'xmrstak/backend/amd/amd_gpu/gpu.cpp')
-rw-r--r--xmrstak/backend/amd/amd_gpu/gpu.cpp4
1 files changed, 1 insertions, 3 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)
{
OpenPOWER on IntegriCloud