Eigen::internal::random_impl< bfloat16 > Struct Reference

#include <BFloat16.h>

Public Types

enum  : int { MantissaBits = 7 }
 
using Impl = random_impl< float >
 

Static Public Member Functions

static EIGEN_DEVICE_FUNC bfloat16 run (const bfloat16 &x, const bfloat16 &y)
 
static EIGEN_DEVICE_FUNC bfloat16 run ()
 

Member Typedef Documentation

◆ Impl

Member Enumeration Documentation

◆ anonymous enum

anonymous enum : int
Enumerator
MantissaBits 
694 : int { MantissaBits = 7 };
@ MantissaBits
Definition: BFloat16.h:694

Member Function Documentation

◆ run() [1/2]

700  {
701  float result = Impl::run(MantissaBits);
702  return bfloat16(result);
703  }
void run(const string &dir_name, LinearSolver *linear_solver_pt, const unsigned nel_1d, bool mess_up_order)
Definition: two_d_poisson_compare_solvers.cc:317

References run().

◆ run() [2/2]

static EIGEN_DEVICE_FUNC bfloat16 Eigen::internal::random_impl< bfloat16 >::run ( const bfloat16 x,
const bfloat16 y 
)
inlinestatic
696  {
697  float result = Impl::run(x, y, MantissaBits);
698  return bfloat16(result);
699  }
const Scalar & y
Definition: RandomImpl.h:36
list x
Definition: plotDoE.py:28

References run(), plotDoE::x, and Eigen::internal::y.


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