Show / Hide Table of Contents

Class LLVMVectorIntrinsics

Inheritance
System.Object
LLVMVectorIntrinsics
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Hybridizer.Runtime.CUDAImports
Assembly: Hybridizer.Runtime.CUDAImports.dll
Syntax
public class LLVMVectorIntrinsics

Methods

ExtractElement(double2, Int32)

The ‘extractelement‘ instruction extracts a single scalar element from a vector at a specified index. Documentation here

Declaration
[IntrinsicFunction(IsNaked = true, Name = "hybridizer::extractElement<double2, double>")]
public static double ExtractElement(double2 vector, int index)
Parameters
Type Name Description
double2 vector
System.Int32 index
Returns
Type Description
System.Double

ExtractElement(float4, Int32)

The ‘extractelement‘ instruction extracts a single scalar element from a vector at a specified index. Documentation here

Declaration
[IntrinsicFunction(IsNaked = true, Name = "hybridizer::extractElement<float4, float>")]
public static float ExtractElement(float4 vector, int index)
Parameters
Type Name Description
float4 vector
System.Int32 index
Returns
Type Description
System.Single

ExtractElement(float8, Int32)

The ‘extractelement‘ instruction extracts a single scalar element from a vector at a specified index. Documentation here

Declaration
[IntrinsicFunction(IsNaked = true, Name = "hybridizer::extractElement<float8, float>")]
public static float ExtractElement(float8 vector, int index)
Parameters
Type Name Description
float8 vector
System.Int32 index
Returns
Type Description
System.Single

ExtractElement(int8, Int32)

The ‘extractelement‘ instruction extracts a single scalar element from a vector at a specified index. Documentation here

Declaration
[IntrinsicFunction(IsNaked = true, Name = "hybridizer::extractElement<int8, int>")]
public static int ExtractElement(int8 vector, int index)
Parameters
Type Name Description
int8 vector
System.Int32 index
Returns
Type Description
System.Int32

ExtractElement(long2, Int32)

The ‘extractelement‘ instruction extracts a single scalar element from a vector at a specified index. Documentation here

Declaration
[IntrinsicFunction(IsNaked = true, Name = "hybridizer::extractElement<long2, float>")]
public static long ExtractElement(long2 vector, int index)
Parameters
Type Name Description
long2 vector
System.Int32 index
Returns
Type Description
System.Int64

InsertElement(double2, Double, Int32)

The ‘insertelement‘ instruction inserts a scalar element into a vector at a specified index. Documentation here

Declaration
[IntrinsicFunction(IsNaked = true, Name = "hybridizer::insertElement<double2>")]
public static double2 InsertElement(double2 vector, double valueToInsert, int index)
Parameters
Type Name Description
double2 vector
System.Double valueToInsert
System.Int32 index
Returns
Type Description
double2

InsertElement(float4, Single, Int32)

The ‘insertelement‘ instruction inserts a scalar element into a vector at a specified index. Documentation here

Declaration
[IntrinsicFunction(IsNaked = true, Name = "hybridizer::insertElement<float4>")]
public static float4 InsertElement(float4 vector, float valueToInsert, int index)
Parameters
Type Name Description
float4 vector
System.Single valueToInsert
System.Int32 index
Returns
Type Description
float4

InsertElement(float8, Single, Int32)

The ‘insertelement‘ instruction inserts a scalar element into a vector at a specified index. Documentation here

Declaration
[IntrinsicFunction(IsNaked = true, Name = "hybridizer::insertElement<float8>")]
public static float8 InsertElement(float8 vector, float valueToInsert, int index)
Parameters
Type Name Description
float8 vector
System.Single valueToInsert
System.Int32 index
Returns
Type Description
float8

InsertElement(int8, Int32, Int32)

The ‘insertelement‘ instruction inserts a scalar element into a vector at a specified index. Documentation here

Declaration
[IntrinsicFunction(IsNaked = true, Name = "hybridizer::insertElement<int8>")]
public static int8 InsertElement(int8 vector, int valueToInsert, int index)
Parameters
Type Name Description
int8 vector
System.Int32 valueToInsert
System.Int32 index
Returns
Type Description
int8

InsertElement(long2, Int64, Int32)

The ‘insertelement‘ instruction inserts a scalar element into a vector at a specified index. Documentation here

Declaration
[IntrinsicFunction(IsNaked = true, Name = "hybridizer::insertElement<long2>")]
public static long2 InsertElement(long2 vector, long valueToInsert, int index)
Parameters
Type Name Description
long2 vector
System.Int64 valueToInsert
System.Int32 index
Returns
Type Description
long2

ShuffleVector(double2, double2, int2)

The ‘shufflevector‘ instruction constructs a permutation of elements from two input vectors, returning a vector with the same element type as the input and length that is the same as the shuffle mask. Documentation here

Declaration
[IntrinsicFunction(IsNaked = true, Name = "hybridizer::shuffleVector<double2, double2, int2>")]
public static double2 ShuffleVector(double2 left, double2 right, int2 mask)
Parameters
Type Name Description
double2 left
double2 right
int2 mask
Returns
Type Description
double2

ShuffleVector(float8, float8, int8)

The ‘shufflevector‘ instruction constructs a permutation of elements from two input vectors, returning a vector with the same element type as the input and length that is the same as the shuffle mask. Documentation here

Declaration
[IntrinsicFunction(IsNaked = true, Name = "hybridizer::shuffleVector<float8, float8, int8>")]
public static float8 ShuffleVector(float8 left, float8 right, int8 mask)
Parameters
Type Name Description
float8 left
float8 right
int8 mask
Returns
Type Description
float8

ShuffleVector(int8, int8, int8)

The ‘shufflevector‘ instruction constructs a permutation of elements from two input vectors, returning a vector with the same element type as the input and length that is the same as the shuffle mask. Documentation here

Declaration
[IntrinsicFunction(IsNaked = true, Name = "hybridizer::shuffleVector<int8, int8, int8>")]
public static int8 ShuffleVector(int8 left, int8 right, int8 mask)
Parameters
Type Name Description
int8 left
int8 right
int8 mask
Returns
Type Description
int8

ShuffleVector(long2, long2, int2)

The ‘shufflevector‘ instruction constructs a permutation of elements from two input vectors, returning a vector with the same element type as the input and length that is the same as the shuffle mask. Documentation here

Declaration
[IntrinsicFunction(IsNaked = true, Name = "hybridizer::shuffleVector<long2, long2, int2>")]
public static long2 ShuffleVector(long2 left, long2 right, int2 mask)
Parameters
Type Name Description
long2 left
long2 right
int2 mask
Returns
Type Description
long2
Back to top Generated by DocFX