Move files from include/ to OpenCL/ if they are used within kernels
Rename includes in OpenCL so that it's easier to recognize them as such
This commit is contained in:
+9
-9
@@ -9,8 +9,8 @@
|
||||
#ifndef SHARED_H
|
||||
#define SHARED_H
|
||||
|
||||
#include <common.h>
|
||||
#include <constants.h>
|
||||
#include "common.h"
|
||||
#include "inc_hash_constants.h"
|
||||
|
||||
/**
|
||||
* thread management
|
||||
@@ -108,18 +108,18 @@ static inline int CPU_ISSET (int num, cpu_set_t *cs) { return (cs->count & (1 <
|
||||
#define hc_sleep(x) sleep ((x));
|
||||
#endif
|
||||
|
||||
#include <ext_OpenCL.h>
|
||||
#include "ext_OpenCL.h"
|
||||
|
||||
/**
|
||||
* temperature management
|
||||
*/
|
||||
|
||||
#if _WIN
|
||||
#include <ext_ADL.h>
|
||||
#include <ext_nvapi.h>
|
||||
#include "ext_ADL.h"
|
||||
#include "ext_nvapi.h"
|
||||
#else
|
||||
#include <ext_ADL.h>
|
||||
#include <ext_nvml.h>
|
||||
#include "ext_ADL.h"
|
||||
#include "ext_nvml.h"
|
||||
#endif
|
||||
|
||||
/**
|
||||
@@ -184,9 +184,9 @@ typedef pthread_t hc_thread_t;
|
||||
typedef pthread_mutex_t hc_thread_mutex_t;
|
||||
#endif
|
||||
|
||||
#include <types.h>
|
||||
#include "types.h"
|
||||
#include "rp_cpu.h"
|
||||
#include "rp_kernel.h"
|
||||
#include "inc_rp.h"
|
||||
|
||||
/**
|
||||
* valid project specific global stuff
|
||||
|
||||
Reference in New Issue
Block a user