cloudFPGA (cF) API  1.0
The documentation of the source code of cloudFPGA (cF)
kernel_mceuropeanengine.hpp
Go to the documentation of this file.
1 
17 
42 #ifndef KERNEL_MCEUROPEANENGINHE_H
43 #define KERNEL_MCEUROPEANENGINHE_H
44 
45 extern "C" void kernel_mc(DtUsedInt loop_nm,
50  DtUsed riskFreeRate, // model parameter
52  DtUsed strike,
53  DtUsedInt optionType, // option parameter
54  DtUsed out[OUTDEP],
59  bool *finished);
60 #endif
long unsigned int DtUsedInt
Definition: config.h:74
#define OUTDEP
Definition: config.h:63
#define DtUsed
Definition: config.h:57
void kernel_mc(DtUsedInt loop_nm, DtUsedInt seed, DtUsed underlying, DtUsed volatility, DtUsed dividendYield, DtUsed riskFreeRate, DtUsed timeLength, DtUsed strike, DtUsedInt optionType, DtUsed out[OUTDEP], DtUsed requiredTolerance, DtUsedInt requiredSamples, DtUsedInt timeSteps, DtUsedInt maxSamples, bool *finished)
int timeSteps
Definition: test.py:37
int requiredSamples
Definition: test.py:36
float volatility
Definition: test.py:29
int optionType
Definition: test.py:34
int seed
Definition: test.py:27
float strike
Definition: test.py:33
int timeLength
Definition: test.py:32
float requiredTolerance
Definition: test.py:35
float underlying
Definition: test.py:28
int maxSamples
Definition: test.py:38
float riskFreeRate
Definition: test.py:31
out
Definition: test.py:12
float dividendYield
Definition: test.py:30
int loop_nm
Definition: test.py:26