HIP: Heterogenous-computing Interface for Portability
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Typedefs | Functions
hip_vector_types.h File Reference

Defines the different newt vector types for HIP runtime. More...

#include "hip/hcc_detail/host_defines.h"

Go to the source code of this file.

Macros

#define __HIP_DEVICE__   __device__ __host__
 

Typedefs

typedef hc::short_vector::char1 char1
 
typedef hc::short_vector::char2 char2
 
typedef hc::short_vector::char3 char3
 
typedef hc::short_vector::char4 char4
 
typedef hc::short_vector::short1 short1
 
typedef hc::short_vector::short2 short2
 
typedef hc::short_vector::short3 short3
 
typedef hc::short_vector::short4 short4
 
typedef hc::short_vector::int1 int1
 
typedef hc::short_vector::int2 int2
 
typedef hc::short_vector::int3 int3
 
typedef hc::short_vector::int4 int4
 
typedef hc::short_vector::long1 long1
 
typedef hc::short_vector::long2 long2
 
typedef hc::short_vector::long3 long3
 
typedef hc::short_vector::long4 long4
 
typedef hc::short_vector::longlong1 longlong1
 
typedef hc::short_vector::longlong2 longlong2
 
typedef hc::short_vector::longlong3 longlong3
 
typedef hc::short_vector::longlong4 longlong4
 
typedef hc::short_vector::uchar1 uchar1
 
typedef hc::short_vector::uchar2 uchar2
 
typedef hc::short_vector::uchar3 uchar3
 
typedef hc::short_vector::uchar4 uchar4
 
typedef hc::short_vector::ushort1 ushort1
 
typedef hc::short_vector::ushort2 ushort2
 
typedef hc::short_vector::ushort3 ushort3
 
typedef hc::short_vector::ushort4 ushort4
 
typedef hc::short_vector::uint1 uint1
 
typedef hc::short_vector::uint2 uint2
 
typedef hc::short_vector::uint3 uint3
 
typedef hc::short_vector::uint4 uint4
 
typedef hc::short_vector::ulong1 ulong1
 
typedef hc::short_vector::ulong2 ulong2
 
typedef hc::short_vector::ulong3 ulong3
 
typedef hc::short_vector::ulong4 ulong4
 
typedef
hc::short_vector::ulonglong1 
ulonglong1
 
typedef
hc::short_vector::ulonglong2 
ulonglong2
 
typedef
hc::short_vector::ulonglong3 
ulonglong3
 
typedef
hc::short_vector::ulonglong4 
ulonglong4
 
typedef hc::short_vector::float1 float1
 
typedef hc::short_vector::float2 float2
 
typedef hc::short_vector::float3 float3
 
typedef hc::short_vector::float4 float4
 
typedef hc::short_vector::double1 double1
 
typedef hc::short_vector::double2 double2
 
typedef hc::short_vector::double3 double3
 
typedef hc::short_vector::double4 double4
 

Functions

__HIP_DEVICE__ char1 make_char1 (signed char)
 
__HIP_DEVICE__ char2 make_char2 (signed char, signed char)
 
__HIP_DEVICE__ char3 make_char3 (signed char, signed char, signed char)
 
__HIP_DEVICE__ char4 make_char4 (signed char, signed char, signed char, signed char)
 
__HIP_DEVICE__ short1 make_short1 (short)
 
__HIP_DEVICE__ short2 make_short2 (short, short)
 
__HIP_DEVICE__ short3 make_short3 (short, short, short)
 
__HIP_DEVICE__ short4 make_short4 (short, short, short, short)
 
__HIP_DEVICE__ int1 make_int1 (int)
 
__HIP_DEVICE__ int2 make_int2 (int, int)
 
__HIP_DEVICE__ int3 make_int3 (int, int, int)
 
__HIP_DEVICE__ int4 make_int4 (int, int, int, int)
 
__HIP_DEVICE__ long1 make_long1 (long)
 
__HIP_DEVICE__ long2 make_long2 (long, long)
 
__HIP_DEVICE__ long3 make_long3 (long, long, long)
 
__HIP_DEVICE__ long4 make_long4 (long, long, long, long)
 
__HIP_DEVICE__ longlong1 make_longlong1 (long long)
 
__HIP_DEVICE__ longlong2 make_longlong2 (long long, long long)
 
__HIP_DEVICE__ longlong3 make_longlong3 (long long, long long, long long)
 
__HIP_DEVICE__ longlong4 make_longlong4 (long long, long long, long long, long long)
 
__HIP_DEVICE__ uchar1 make_uchar1 (unsigned char)
 
__HIP_DEVICE__ uchar2 make_uchar2 (unsigned char, unsigned char)
 
__HIP_DEVICE__ uchar3 make_uchar3 (unsigned char, unsigned char, unsigned char)
 
__HIP_DEVICE__ uchar4 make_uchar4 (unsigned char, unsigned char, unsigned char, unsigned char)
 
__HIP_DEVICE__ ushort1 make_ushort1 (unsigned short)
 
__HIP_DEVICE__ ushort2 make_ushort2 (unsigned short, unsigned short)
 
__HIP_DEVICE__ ushort3 make_ushort3 (unsigned short, unsigned short, unsigned short)
 
__HIP_DEVICE__ ushort4 make_ushort4 (unsigned short, unsigned short, unsigned short, unsigned short)
 
__HIP_DEVICE__ uint1 make_uint1 (unsigned int)
 
__HIP_DEVICE__ uint2 make_uint2 (unsigned int, unsigned int)
 
__HIP_DEVICE__ uint3 make_uint3 (unsigned int, unsigned int, unsigned int)
 
__HIP_DEVICE__ uint4 make_uint4 (unsigned int, unsigned int, unsigned int, unsigned int)
 
__HIP_DEVICE__ ulong1 make_ulong1 (unsigned long)
 
__HIP_DEVICE__ ulong2 make_ulong2 (unsigned long, unsigned long)
 
__HIP_DEVICE__ ulong3 make_ulong3 (unsigned long, unsigned long, unsigned long)
 
__HIP_DEVICE__ ulong4 make_ulong4 (unsigned long, unsigned long, unsigned long, unsigned long)
 
__HIP_DEVICE__ ulonglong1 make_ulonglong1 (unsigned long long)
 
__HIP_DEVICE__ ulonglong2 make_ulonglong2 (unsigned long long, unsigned long long)
 
__HIP_DEVICE__ ulonglong3 make_ulonglong3 (unsigned long long, unsigned long long, unsigned long long)
 
__HIP_DEVICE__ ulonglong4 make_ulonglong4 (unsigned long long, unsigned long long, unsigned long long, unsigned long long)
 
__HIP_DEVICE__ float1 make_float1 (float)
 
__HIP_DEVICE__ float2 make_float2 (float, float)
 
__HIP_DEVICE__ float3 make_float3 (float, float, float)
 
__HIP_DEVICE__ float4 make_float4 (float, float, float, float)
 
__HIP_DEVICE__ double1 make_double1 (double)
 
__HIP_DEVICE__ double2 make_double2 (double, double)
 
__HIP_DEVICE__ double3 make_double3 (double, double, double)
 
__HIP_DEVICE__ double4 make_double4 (double, double, double, double)
 

Detailed Description

Defines the different newt vector types for HIP runtime.