FasTensor
1.0.0
Transform Supercomputing for AI
|
#include <iostream>
#include <stdarg.h>
#include <vector>
#include <stdlib.h>
#include <math.h>
#include "au.h"
#include "DasLib.h"
Macros | |
#define | LTS 14999 |
Example to sum each row of A (8 x 8) Store result in H (8 x 2) H[0,0] = sum (A[0,0], A[0,1], A[0,2], A[0,3]) H[0,1] = sum (A[0,4], A[0,5], A[0,6], A[0,7]) H[1,0] = sum (A[1,0], A[1,1], A[1,2], A[1,3]) ... ... More... | |
#define | CHS 201 |
Functions | |
Stencil< double > | stack_udf (const Stencil< double > &iStencil) |
int | main (int argc, char *argv[]) |
Variables | |
double | t_start = -59.9920000000000 |
double | t_end = 59.9920000000000 |
double | sample_rate = 0.00800000000000000 |
std::vector< unsigned long long > | H_size = {CHS, LTS} |
Array< double > * | H |
Array< double > | semblanceSum_denom |
#define CHS 201 |
#define LTS 14999 |
Example to sum each row of A (8 x 8) Store result in H (8 x 2) H[0,0] = sum (A[0,0], A[0,1], A[0,2], A[0,3])
H[0,1] = sum (A[0,4], A[0,5], A[0,6], A[0,7])
H[1,0] = sum (A[1,0], A[1,1], A[1,2], A[1,3]) ... ...
A points to a list of files and each have size of 8 x 8.
int main | ( | int | argc, |
char * | argv[] | ||
) |
Array<double>* H |
double sample_rate = 0.00800000000000000 |
Array<double> semblanceSum_denom |
double t_end = 59.9920000000000 |
double t_start = -59.9920000000000 |