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) |
void * | black_scholes (void *threadarg) |
int | main (void) |
fixedpt asset_path_test | ( | int | seed | ) |
Definition at line 101 of file main.c.
References asset_path_fixed_simplified().
void* black_scholes | ( | void * | threadarg | ) |
Definition at line 29 of file main.c.
References test_panda::arg, asset_path_test(), FIXEDPT_BITS, FIXEDPT_WBITS, thread_data::maxidx, result, seeds, thread_data::startidx, and sum.
int main | ( | void | ) |
Definition at line 50 of file main.c.
References black_scholes(), thread_data::maxidx, NULL, NUM_ACCEL, OPS_PER_ACCEL, result, RUN, thread_data::startidx, sum, and test_panda::threads.