fix stream
This commit is contained in:
parent
24be98f61f
commit
558352afc9
@ -377,7 +377,7 @@ struct ToDType<int64_t> {
|
|||||||
static constexpr ArrayInterfaceHandler::Type kType = ArrayInterfaceHandler::kI8;
|
static constexpr ArrayInterfaceHandler::Type kType = ArrayInterfaceHandler::kI8;
|
||||||
};
|
};
|
||||||
|
|
||||||
#if !defined(XGBOOST_USE_CUDA) && !defined(__HIP_PLATFORM_AMD__)
|
#if !defined(XGBOOST_USE_CUDA) && !defined(XGBOOST_USE_HIP)
|
||||||
inline void ArrayInterfaceHandler::SyncCudaStream(int64_t) { common::AssertGPUSupport(); }
|
inline void ArrayInterfaceHandler::SyncCudaStream(int64_t) { common::AssertGPUSupport(); }
|
||||||
inline bool ArrayInterfaceHandler::IsCudaPtr(void const *) { return false; }
|
inline bool ArrayInterfaceHandler::IsCudaPtr(void const *) { return false; }
|
||||||
#endif // !defined(XGBOOST_USE_CUDA)
|
#endif // !defined(XGBOOST_USE_CUDA)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user