fix 192,7 cuda support
This commit is contained in:
parent
e36ff05210
commit
17b76cb3e4
|
@ -10,8 +10,6 @@
|
||||||
typedef uint16_t u16;
|
typedef uint16_t u16;
|
||||||
typedef uint64_t u64;
|
typedef uint64_t u64;
|
||||||
|
|
||||||
#define htole32(x) (x)
|
|
||||||
|
|
||||||
#define checkCudaErrors(ans) { gpuAssert((ans), __FILE__, __LINE__); }
|
#define checkCudaErrors(ans) { gpuAssert((ans), __FILE__, __LINE__); }
|
||||||
inline void gpuAssert(cudaError_t code, const char *file, int line, bool abort=true) {
|
inline void gpuAssert(cudaError_t code, const char *file, int line, bool abort=true) {
|
||||||
if (code != cudaSuccess) {
|
if (code != cudaSuccess) {
|
||||||
|
|
Loading…
Reference in New Issue