class xf::fintech::OCLController

#include "xf_fintech_ocl_controller.hpp"

Overview

A class handling interaction with OpenCL.

class OCLController

    // direct descendants

    class xf::fintech::BinomialTree
    class xf::fintech::CFBlackScholes
    class xf::fintech::FDHeston
    class xf::fintech::hcf
    class xf::fintech::m76
    class xf::fintech::MCAmerican
    class xf::fintech::MCEuropean
    class xf::fintech::MCEuropeanDJE
    class xf::fintech::PopMCMC

Methods

claimDevice

int claimDevice (Device* device)

Claim the device

releaseDevice

int releaseDevice (void)

Release the device

deviceIsPrepared

bool deviceIsPrepared (void)

Check the device is ready