OpenVDB 13.2.0
Loading...
Searching...
No Matches
is_equality_comparable_resource< R, class > Struct Template Reference

Detection trait: is_equality_comparable_resource<R>::value is true iff R models a resource concept and provides operator==: two resources compare equal when memory allocated through one may be deallocated through the other. cuda::mr's resource concepts require it; using a resource without it is deprecated, and 14.0 makes it part of NanoVDB's concepts too. More...

#include <nanovdb/cuda/DeviceResource.h>

Detailed Description

template<class R, class = void>
struct nanovdb::cuda::is_equality_comparable_resource< R, class >

Detection trait: is_equality_comparable_resource<R>::value is true iff R models a resource concept and provides operator==: two resources compare equal when memory allocated through one may be deallocated through the other. cuda::mr's resource concepts require it; using a resource without it is deprecated, and 14.0 makes it part of NanoVDB's concepts too.