gpu: fix broken HIP code path
This commit is contained in:
@ -403,7 +403,7 @@ double AtomT::host_memory_usage() const {
|
|||||||
return _max_atoms*atom_bytes*sizeof(numtyp)+sizeof(Atom<numtyp,acctyp>);
|
return _max_atoms*atom_bytes*sizeof(numtyp)+sizeof(Atom<numtyp,acctyp>);
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef USE_CUDPP
|
#if defined(USE_CUDPP) || defined(USE_HIP_DEVICE_SORT)
|
||||||
#define USE_CUDPP_ARG(arg) arg
|
#define USE_CUDPP_ARG(arg) arg
|
||||||
#else
|
#else
|
||||||
#define USE_CUDPP_ARG(arg)
|
#define USE_CUDPP_ARG(arg)
|
||||||
|
|||||||
Reference in New Issue
Block a user