Cyclops Tensor Framework
parallel arithmetic on multidimensional arrays
btwn_central_kernels.cxx File Reference
#include "btwn_central.h"
Include dependency graph for btwn_central_kernels.cxx:

Go to the source code of this file.

Functions

DEVICE HOST void mfunc (mpath a, mpath &b)
 
DEVICE HOST mpath addw (int w, mpath p)
 
Bivar_Function< int, mpath, mpath > * get_Bellman_kernel ()
 
DEVICE HOST void cfunc (cpath a, cpath &b)
 
DEVICE HOST cpath subw (int w, cpath p)
 
Bivar_Function< int, cpath, cpath > * get_Brandes_kernel ()
 
void mpath_red (mpath const *a, mpath *b, int n)
 
Semiring< mpathget_mpath_semiring ()
 
void cpath_red (cpath const *a, cpath *b, int n)
 
Monoid< cpathget_cpath_monoid ()
 

Function Documentation

DEVICE HOST mpath addw ( int  w,
mpath  p 
)

Definition at line 13 of file btwn_central_kernels.cxx.

References mpath::w, and ctf.core::w.

DEVICE HOST void cfunc ( cpath  a,
cpath b 
)

Definition at line 21 of file btwn_central_kernels.cxx.

References cpath::c, DEVICE, HOST, and cpath::w.

void cpath_red ( cpath const *  a,
cpath b,
int  n 
)

Definition at line 82 of file btwn_central_kernels.cxx.

References cpath::c, cpath::m, cpath::w, and ctf.core::w.

Referenced by get_cpath_monoid().

Bivar_Function<int,mpath,mpath>* get_Bellman_kernel ( )

Definition at line 15 of file btwn_central_kernels.cxx.

References DEVICE, and HOST.

Referenced by btwn_cnt_fast(), and cpath::cpath().

Bivar_Function<int,cpath,cpath>* get_Brandes_kernel ( )

Definition at line 31 of file btwn_central_kernels.cxx.

Referenced by btwn_cnt_fast(), and cpath::cpath().

Monoid<cpath> get_cpath_monoid ( )

Definition at line 99 of file btwn_central_kernels.cxx.

References ctf.core::a, ctf.core::b, cpath_red(), and cpath::w.

Referenced by btwn_cnt_fast(), btwn_cnt_naive(), and cpath::cpath().

Semiring<mpath> get_mpath_semiring ( )

Definition at line 50 of file btwn_central_kernels.cxx.

References ctf.core::a, ctf.core::b, mpath::m, mpath_red(), and mpath::w.

Referenced by btwn_cnt_fast(), btwn_cnt_naive(), and cpath::cpath().

DEVICE HOST void mfunc ( mpath  a,
mpath b 
)

Definition at line 7 of file btwn_central_kernels.cxx.

References ctf.core::a, DEVICE, HOST, mpath::m, and mpath::w.

void mpath_red ( mpath const *  a,
mpath b,
int  n 
)

Definition at line 37 of file btwn_central_kernels.cxx.

References mpath::m, mpath::w, and ctf.core::w.

Referenced by get_mpath_semiring().

DEVICE HOST cpath subw ( int  w,
cpath  p 
)

Definition at line 27 of file btwn_central_kernels.cxx.

References cpath::c, cpath::m, and cpath::w.