PandA-2024.02
|
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <unistd.h>
#include <stdint.h>
#include <pthread.h>
#include "black_scholes.h"
#include "fixedptc.h"
#include "fixedptc.c"
#include "black_scholes.c"
#include "seed.h"
Go to the source code of this file.
Data Structures | |
struct | thread_data |
Macros | |
#define | NUM_ACCEL 4 |
#define | RUN 32 |
#define | OPS_PER_ACCEL RUN/NUM_ACCEL |
Functions | |
fixedpt | asset_path_test (int seed) |
fixedpt | black_scholes (int startidx) __attribute__((always_inline)) |
int | main (void) |
Definition at line 10 of file main.c.
Referenced by black_scholes(), and main().
fixedpt asset_path_test | ( | int | seed | ) |
Definition at line 81 of file main.c.
References asset_path_fixed_simplified().
|
inline |
Definition at line 30 of file main.c.
References asset_path_test(), FIXEDPT_BITS, FIXEDPT_WBITS, OPS_PER_ACCEL, result, seeds, thread_data::startidx, and sum.
int main | ( | void | ) |
Definition at line 46 of file main.c.
References __attribute__(), asset_path_test(), black_scholes(), NUM_ACCEL, OPS_PER_ACCEL, result, RUN, and sum.