UCX++
Public Member Functions | List of all members
ucxpp::context::builder Class Reference

Context builder. More...

#include <ucxpp/context.h>

Public Member Functions

std::shared_ptr< contextbuild ()
 Build and return a context object. More...
 
builderenable_print_config ()
 Print the config to stdout when building context. More...
 
builderenable_wakeup ()
 Enable the wakeup feature. More...
 
builderenable_tag ()
 Enable tag-related operations. More...
 
builderenable_stream ()
 Enable stream-related operations. More...
 
builderenable_am ()
 Enable active message feature. More...
 
builderenable_rma ()
 Enable remote memory access feature. More...
 
builderenable_amo32 ()
 Enable atomic memory operations with 32-bit operands. More...
 
builderenable_amo64 ()
 Enable atomic memory operations with 64-bit operands. More...
 
builderenable_mt ()
 Enable multi-threading. More...
 

Detailed Description

Context builder.

Examples
helloworld.cc.

Member Function Documentation

◆ build()

std::shared_ptr< context > ucxpp::context::builder::build ( )

Build and return a context object.

Returns
std::shared_ptr<context> The built context object
Examples
helloworld.cc.

◆ enable_am()

context::builder & ucxpp::context::builder::enable_am ( )

Enable active message feature.

Returns
builder&

◆ enable_amo32()

context::builder & ucxpp::context::builder::enable_amo32 ( )

Enable atomic memory operations with 32-bit operands.

Returns
builder&

◆ enable_amo64()

context::builder & ucxpp::context::builder::enable_amo64 ( )

Enable atomic memory operations with 64-bit operands.

Returns
builder&
Examples
helloworld.cc.

◆ enable_mt()

context::builder & ucxpp::context::builder::enable_mt ( )

Enable multi-threading.

Returns
builder&

◆ enable_print_config()

context::builder & ucxpp::context::builder::enable_print_config ( )

Print the config to stdout when building context.

Returns
builder

◆ enable_rma()

context::builder & ucxpp::context::builder::enable_rma ( )

Enable remote memory access feature.

Returns
builder&
Examples
helloworld.cc.

◆ enable_stream()

context::builder & ucxpp::context::builder::enable_stream ( )

Enable stream-related operations.

Returns
builder&
Examples
helloworld.cc.

◆ enable_tag()

context::builder & ucxpp::context::builder::enable_tag ( )

Enable tag-related operations.

Returns
builder&
Examples
helloworld.cc.

◆ enable_wakeup()

context::builder & ucxpp::context::builder::enable_wakeup ( )

Enable the wakeup feature.

Returns
builder&
Examples
helloworld.cc.

The documentation for this class was generated from the following files: