Lift
Library of parallel computing primitives for GPUs and multi-core CPUs
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
Functions
lift::__internal Namespace Reference

Functions

template<typename dst_value_type , typename src_value_type >
static constexpr
LIFT_HOST_DEVICE bool 
check_value_type_assignment_compatible (void)
 Checks if a source and destination value types are assignment-compatible. More...
 
cpu_config identify_host_cpu (void)
 

Function Documentation

template<typename dst_value_type , typename src_value_type >
static constexpr LIFT_HOST_DEVICE bool lift::__internal::check_value_type_assignment_compatible ( void  )
static

Checks if a source and destination value types are assignment-compatible.

This effectively only checks that the types are the same or that the destination type is a const version of the source type.

Template Parameters
dst_value_typeThe lhs type for the assignment
src_value_typeThe rhs type for the assignment
Returns
Nothing. The return type is declared as bool because void constexpr functions are not allowed, but the return value is not meaningful. Compilation is aborted if the test fails.

Definition at line 59 of file type_assignment_checks.h.

cpu_config lift::__internal::identify_host_cpu ( void  )

Definition at line 337 of file x86_64_cpuid.cu.