5#ifndef _TARCH_LA_SCALAROPERATIONS_H_
6#define _TARCH_LA_SCALAROPERATIONS_H_
8#include <Kokkos_Core.hpp>
24template <
class T> KOKKOS_INLINE_FUNCTION
bool equals(
const T& l,
const T& r,
const T& tolerance) {
return std::abs(l - r) <= tolerance; }
KOKKOS_INLINE_FUNCTION bool equals(const T &l, const T &r, const T &tolerance)
Definition ScalarOperations.h:24
Definition Configuration.h:11