FreeTensor
Loading...
Searching...
No Matches
Classes | Namespaces | Macros | Typedefs
rand_ctx.h File Reference
#include <map>
#include <mutex>
#include <regex>
#include <string>
#include <unordered_map>
#include <container_utils.h>
#include <func_utils.h>
#include <probability/rand_cond.h>
#include <probability/rand_var.h>
Include dependency graph for rand_ctx.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  freetensor::ProgramPositionHelper
 
class  freetensor::RandCtxImpl
 
class  freetensor::RandCtx< RNG >
 

Namespaces

namespace  freetensor
 

Macros

#define PROGRAM_POSITION
 

Typedefs

typedef const ProgramPositionHelper * freetensor::ProgramPosition
 
typedef std::vector< DiscreteObservation > freetensor::RandTrace
 

Macro Definition Documentation

◆ PROGRAM_POSITION

#define PROGRAM_POSITION
Value:
([]() -> ProgramPosition { \
static ProgramPositionHelper p; \
return &p; \
})()

Uniquely marking a program position