24#include <boost/serialization/access.hpp>
42 static_assert(
sizeof(
void *) <=
sizeof(
value_type));
56 template <
typename Archive>
57 void serialize(
Archive &
ar,
unsigned const ) {
67 return std::hash<ScriptInterface::ObjectId::value_type>{}(
oid.m_id);
Base class for interface handles.
cudaStream_t stream[1]
CUDA streams for parallel computing on CPU and GPU.
Strongly typed integer type to hold a unique identifier for a ObjectHandle object,...
constexpr bool operator==(ObjectId const &) const =default
ObjectId(ObjectHandle const *p)
constexpr bool operator!=(ObjectId const &) const =default
friend class boost::serialization::access