VisionCpp  0.0.1
Static Public Member Functions | List of all members
visioncpp::internal::tools::Convertor< float > Struct Reference

specialisation of the Convertor when the output is float More...

#include <convert.hpp>

Collaboration diagram for visioncpp::internal::tools::Convertor< float >:

Static Public Member Functions

static float convert (cl::sycl::float4 t)
 function convert More...
 
static float convert (float t)
 function convert More...
 

Detailed Description

specialisation of the Convertor when the output is float

Definition at line 533 of file convert.hpp.

Member Function Documentation

◆ convert() [1/2]

static float visioncpp::internal::tools::Convertor< float >::convert ( cl::sycl::float4  t)
inlinestatic

function convert

Convert the cl::sycl::float4 input type to the float output type. parameters:

Parameters
tinput type needed to be converted
Returns
float

Definition at line 539 of file convert.hpp.

◆ convert() [2/2]

static float visioncpp::internal::tools::Convertor< float >::convert ( float  t)
inlinestatic

function convert

Returns the float input type. parameters:

Parameters
tinput type needed to be converted
Returns
float

Definition at line 546 of file convert.hpp.


The documentation for this struct was generated from the following file: