clang 22.0.0git
__clang_hip_stdlib.h File Reference
#include <limits.h>

Go to the source code of this file.

Macros

#define __DEVICE__   static __device__ inline __attribute__((always_inline))

Functions

__DEVICE__ int abs (int __x)
__DEVICE__ long labs (long __x)
__DEVICE__ long long llabs (long long __x)

Macro Definition Documentation

◆ __DEVICE__

#define __DEVICE__   static __device__ inline __attribute__((always_inline))

Definition at line 22 of file __clang_hip_stdlib.h.

Function Documentation

◆ abs()

__DEVICE__ int abs ( int __x)

Definition at line 26 of file __clang_hip_stdlib.h.

References CHAR_BIT, and int.

◆ labs()

__DEVICE__ long labs ( long __x)

Definition at line 31 of file __clang_hip_stdlib.h.

References CHAR_BIT.

◆ llabs()

__DEVICE__ long long llabs ( long long __x)

Definition at line 36 of file __clang_hip_stdlib.h.

References CHAR_BIT.