Gromacs  2025-dev-20240516-46ce888
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Functions
anonymous_namespace{pme_gpu_calculate_splines_sycl.h} Namespace Reference

Functions

template<typename T >
void assertIsFinite (T arg)
 Asserts if the argument is finite. More...
 
template<>
void assertIsFinite (Float3 gmx_unused arg)
 
template<typename T >
void assertIsFinite (T gmx_unused arg)
 

Function Documentation

template<typename T >
void anonymous_namespace{pme_gpu_calculate_splines_sycl.h}::assertIsFinite ( arg)
inline

Asserts if the argument is finite.

The function works for any data type, that can be casted to float. Note that there is also a specialized implementation for float3 data type.

Parameters
[in]argArgument to check.