Astaroth  3.1
Scalable Multi-GPU Stencil Computations
Loading...
Searching...
No Matches
warp_reduce.h File Reference
#include "vecs.h"
Include dependency graph for warp_reduce.h:

Go to the source code of this file.

Functions

const char * get_op_instruction (const ReduceOp op)
void print_shuffle_down (FILE *stream, const int offset)
void print_shuffle_iteration (FILE *stream, const char *tmp_type, const int offset, const char *op_instruction, const bool check_activeness)
void print_warp_reduction (FILE *stream, const int warp_size, const char *op_instruction, const bool check_activeness)
const char * reduce_op_to_name (const ReduceOp op)

Variables

const char * shuffle_instruction = "__shfl_sync(AC_INTERNAL_active_threads,val,target_tid)"

Function Documentation

◆ get_op_instruction()

const char * get_op_instruction ( const ReduceOp op)

◆ print_shuffle_down()

void print_shuffle_down ( FILE * stream,
const int offset )

◆ print_shuffle_iteration()

void print_shuffle_iteration ( FILE * stream,
const char * tmp_type,
const int offset,
const char * op_instruction,
const bool check_activeness )

◆ print_warp_reduction()

void print_warp_reduction ( FILE * stream,
const int warp_size,
const char * op_instruction,
const bool check_activeness )

◆ reduce_op_to_name()

const char * reduce_op_to_name ( const ReduceOp op)

Variable Documentation

◆ shuffle_instruction

const char* shuffle_instruction = "__shfl_sync(AC_INTERNAL_active_threads,val,target_tid)"