gfor.h File Reference

(2020-07-07 17:43:34 +0530, (build 218dd2c99))

#include <af/defines.h>
#include <af/seq.h>

Go to the source code of this file.

Namespaces

 af
 

Macros

#define gfor(var, ...)   for (var = af::seq(af::seq(__VA_ARGS__), true); af::gforToggle(); )
 

Typedefs

typedef array(* batchFunc_t) (const array &lhs, const array &rhs)
 

Functions

AFAPI bool gforToggle ()
 
AFAPI bool gforGet ()
 
AFAPI void gforSet (bool val)
 
AFAPI array batchFunc (const array &lhs, const array &rhs, batchFunc_t func)
 

Macro Definition Documentation

◆ gfor

#define gfor (   var,
  ... 
)    for (var = af::seq(af::seq(__VA_ARGS__), true); af::gforToggle(); )