Graph Framework
|
Class signature to impliment compute backends. More...
#include <algorithm>
#include <vector>
#include <cmath>
#include "special_functions.hpp"
#include "register.hpp"
Go to the source code of this file.
Classes | |
class | backend::buffer< T > |
Class representing a generic buffer. More... | |
Namespaces | |
namespace | backend |
Name space for backend buffers. | |
Functions | |
template<jit::float_scalar T> | |
buffer< T > | backend::operator+ (buffer< T > &a, buffer< T > &b) |
Add operation. | |
template<jit::float_scalar T> | |
bool | backend::operator== (const buffer< T > &a, const buffer< T > &b) |
Equal operation. | |
template<jit::float_scalar T> | |
buffer< T > | backend::operator- (buffer< T > &a, buffer< T > &b) |
Subtract operation. | |
template<jit::float_scalar T> | |
buffer< T > | backend::operator* (buffer< T > &a, buffer< T > &b) |
Multiply operation. | |
template<jit::float_scalar T> | |
buffer< T > | backend::operator/ (buffer< T > &a, buffer< T > &b) |
Divide operation. | |
template<jit::float_scalar T> | |
buffer< T > | backend::fma (buffer< T > &a, buffer< T > &b, buffer< T > &c) |
Fused multiply add operation. | |
template<jit::float_scalar T> | |
buffer< T > | backend::pow (buffer< T > &base, buffer< T > &exponent) |
Take the power. | |
template<jit::float_scalar T> | |
buffer< T > | backend::atan (buffer< T > &x, buffer< T > &y) |
Take the inverse tangent. | |
Class signature to impliment compute backends.
Defined the function interfaces to access compute resources.