Skip to content

File syntax_sugar.h

FileList > muda > syntax_sugar.h

Go to the source code of this file

Macros

Type Name
define MUDA_DEVICE (__VA_ARGS__) mutable
define def (viewer, from) viewer = (from).name(#viewer)
define kernel_name () kernel_name(__FUNCTION__)
define node (name) create_node(name) << [&]

Macro Definition Documentation

define MUDA_DEVICE

#define MUDA_DEVICE (
    __VA_ARGS__
) mutable

define def

#define def (
    viewer,
    from
) viewer = (from).name(#viewer)

define kernel_name

#define kernel_name (

) kernel_name(__FUNCTION__)

define node

#define node (
    name
) create_node(name) << [&]


The documentation for this class was generated from the following file src/muda/syntax_sugar.h