8 #ifndef NNLIB_LOCATION_VERIFIERS_H
9 #define NNLIB_LOCATION_VERIFIERS_H
bool allLocationsAreDevice(std::initializer_list< DataLocation > locations)
Return true if all given locations are DEVICE.
Definition: location_verifiers.cpp:29
bool allLocationsAreSame(std::initializer_list< DataLocation > locations)
Return true if all given locations are the same.
Definition: location_verifiers.cpp:11
bool allLocationsAreHost(std::initializer_list< DataLocation > locations)
Return true if all given locations are HOST.
Definition: location_verifiers.cpp:25
Header file declaring the Tensor class to represent multidimensional arrays.