Hitmap 1.3
|
#include <stdio.h>
#include <stdlib.h>
#include <hit_pattern.h>
#include <hit_com.h>
#include <hit_sshape.h>
#include <hit_cshape.h>
#include <hit_bshape.h>
Go to the source code of this file.
Macros | |
#define | HIT_PAT_REDISTRIBUTE2_TAG 15005 |
#define | HIT_PAT_REDISTRIBUTE_TAG 15001 |
#define | HIT_PAT_REDISTRIBUTE_TAG2 15002 |
Functions | |
void | hit_patternAdd (HitPattern *pattern, HitCom comm) |
void | hit_patternCompose (HitPattern *pattern, HitPattern *pattern2) |
void | hit_patternFree (HitPattern *pattern) |
void | hit_patternDoOrdered (HitPattern pattern) |
void | hit_patternDoUnordered (HitPattern pattern) |
void | hit_patternStartAsync (HitPattern pattern) |
void | hit_patternEndAsync (HitPattern pattern) |
HitPattern | hit_patternLayRedistribute2 (HitLayout lay1, HitLayout lay2, void *tileP1, void *tileP2, HitType baseType) |
HitPattern | hit_patternLayRedistribute (HitLayout lay1, HitLayout lay2, void *tileP1, void *tileP2, HitType baseType) |
HitPattern | hit_patternRedistribute (HitLayout lay, void *tileP1, void *tileP2, HitType baseType, int flagCompact) |
void | hit_patMatMultInternal (HitPattern *pattern, HitLayout lay, HitShape origin_matrix, HitShape matrix, const void *tilePSend, const void *tilePRecv, HitType baseType, const char *file, int line) |
void | hit_patMatMultBitmapInternal (HitPattern *pattern, HitLayout lay, HitShape origin_matrix, HitShape matrix, const void *tilePSend, const void *tilePRecv, HitType baseType, const char *file, int line) |
Variables | |
HitPattern | HIT_PATTERN_NULL = HIT_PATTERN_NULL_STATIC |
Hitmap patter definition. A pattern structure includes one or more communications. These communications can be performed ordered or unordered.
Definition in file hit_pattern.c.
#define HIT_PAT_REDISTRIBUTE2_TAG 15005 |
Definition at line 267 of file hit_pattern.c.
#define HIT_PAT_REDISTRIBUTE_TAG 15001 |
Definition at line 532 of file hit_pattern.c.
#define HIT_PAT_REDISTRIBUTE_TAG2 15002 |
Definition at line 652 of file hit_pattern.c.
void hit_patMatMultBitmapInternal | ( | HitPattern * | pattern, |
HitLayout | lay, | ||
HitShape | origin_matrix, | ||
HitShape | matrix, | ||
const void * | tilePSend, | ||
const void * | tilePRecv, | ||
HitType | baseType, | ||
const char * | file, | ||
int | line | ||
) |
void hit_patMatMultInternal | ( | HitPattern * | pattern, |
HitLayout | lay, | ||
HitShape | origin_matrix, | ||
HitShape | matrix, | ||
const void * | tilePSend, | ||
const void * | tilePRecv, | ||
HitType | baseType, | ||
const char * | file, | ||
int | line | ||
) |
void hit_patternAdd | ( | HitPattern * | pattern, |
HitCom | comm | ||
) |
Add a communication to a pattern
pattern | pointer to the old pattern |
comm | the communication |
Definition at line 61 of file hit_pattern.c.
void hit_patternCompose | ( | HitPattern * | pattern, |
HitPattern * | pattern2 | ||
) |
Add a whole pattern to another pattern
pattern | pointer to the pattern to compose that will also be the result |
pattern2 | pointer to the pattern to compose that will not be the result |
Definition at line 85 of file hit_pattern.c.
void hit_patternDoOrdered | ( | HitPattern | pattern | ) |
Do all the communications in a pattern orderly according to the order of their adding to the pattern
pattern | pointer to the pattern |
Definition at line 107 of file hit_pattern.c.
void hit_patternDoUnordered | ( | HitPattern | pattern | ) |
Do all the communications of a pattern in a unordered way.
pattern | pointer to the pattern |
Definition at line 117 of file hit_pattern.c.
void hit_patternEndAsync | ( | HitPattern | pattern | ) |
End all asynchronous communications in a pattern
pattern | pointer to the pattern |
Definition at line 200 of file hit_pattern.c.
void hit_patternFree | ( | HitPattern * | pattern | ) |
Free resources in a pattern. It cannot be used again until a new creation
pattern | pointer to the pattern |
Definition at line 94 of file hit_pattern.c.
HitPattern hit_patternLayRedistribute | ( | HitLayout | lay1, |
HitLayout | lay2, | ||
void * | tileP1, | ||
void * | tileP2, | ||
HitType | baseType | ||
) |
Feb 2013 hit_pattternLayRedistribute: Redistribute tile parts using two layouts
lay1 | Original layout |
lay2 | New layout |
tileP1 | Pointer to HitTile allocated on each processor according to the original layout |
tileP2 | Pointer to HitTile allocated on each processor according to the second layout |
baseType | HitType of the base elements of the tiles |
Definition at line 533 of file hit_pattern.c.
HitPattern hit_patternLayRedistribute2 | ( | HitLayout | lay1, |
HitLayout | lay2, | ||
void * | tileP1, | ||
void * | tileP2, | ||
HitType | baseType | ||
) |
Definition at line 268 of file hit_pattern.c.
HitPattern hit_patternRedistribute | ( | HitLayout | lay, |
void * | tileP1, | ||
void * | tileP2, | ||
HitType | baseType, | ||
int | flagCompact | ||
) |
Feb 2013 hit_pattternRedistribute: Redistribute tile parts using their shapes
lay1 | Layout object for the communication |
tileP1 | Pointer to HitTile from which to get data |
tileP2 | Pointer to HitTile in which to receive data |
baseType | HitType of the base elements of the tiles |
Definition at line 653 of file hit_pattern.c.
void hit_patternStartAsync | ( | HitPattern | pattern | ) |
Start all asynchronous communications in a pattern
pattern | pointer to the pattern |
Definition at line 187 of file hit_pattern.c.
HitPattern HIT_PATTERN_NULL = HIT_PATTERN_NULL_STATIC |
Definition at line 57 of file hit_pattern.c.