cloudFPGA (cF) API
1.0
The documentation of the source code of cloudFPGA (cF)
|
#include <limits>
#include "../../common/include/common.hpp"
#include "../include/kernel_mceuropeanengine.hpp"
#include "xf_fintech/mc_engine.hpp"
#include "xf_fintech/rng.hpp"
Go to the source code of this file.
Functions | |
void | kernel_mc (DtUsedInt loop_nm, DtUsedInt seed, double underlying, double volatility, double dividendYield, double riskFreeRate, double timeLength, double strike, DtUsedInt optionType, double out[1024], double requiredTolerance, DtUsedInt requiredSamples, DtUsedInt timeSteps, DtUsedInt maxSamples, bool *finished) |
void kernel_mc | ( | DtUsedInt | loop_nm, |
DtUsedInt | seed, | ||
double | underlying, | ||
double | volatility, | ||
double | dividendYield, | ||
double | riskFreeRate, | ||
double | timeLength, | ||
double | strike, | ||
DtUsedInt | optionType, | ||
double | out[1024], | ||
double | requiredTolerance, | ||
DtUsedInt | requiredSamples, | ||
DtUsedInt | timeSteps, | ||
DtUsedInt | maxSamples, | ||
bool * | finished | ||
) |
Copyright 2016 – 2022 IBM Corporation
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. Copyright (c) 2019, Xilinx, Inc.
All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
Definition at line 50 of file kernel_mc.cpp.