Show / Hide Table of Contents

Struct thread_block_tile_8

Inherited Members
System.ValueType.Equals(System.Object)
System.ValueType.GetHashCode()
System.ValueType.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
Namespace: Hybridizer.Runtime.CUDAImports
Assembly: Hybridizer.Runtime.CUDAImports.dll
Syntax
[IntrinsicType("cooperative_groups::thread_block_tile<8>")]
public struct thread_block_tile_8

Methods

all(Int32)

Evaluate predicate for all non-exited threads and return non-zero if and only if predicate evaluates to non-zero for any of them.

Declaration
public int all(int predicate)
Parameters
Type Name Description
System.Int32 predicate
Returns
Type Description
System.Int32

any(Int32)

Evaluate predicate for all non-exited threads and return non-zero if and only if predicate evaluates to non-zero for any of them.

Declaration
public int any(int predicate)
Parameters
Type Name Description
System.Int32 predicate
Returns
Type Description
System.Int32

ballot(Int32)

Evaluate predicate for all non-exited threads and return an integer whose Nth bit is set if and only if predicate evaluates to non-zero for the Nth thread of the warp and the Nth thread is active.

Declaration
public int ballot(int predicate)
Parameters
Type Name Description
System.Int32 predicate
Returns
Type Description
System.Int32

shfl(Double, UInt32)

Direct copy from indexed lane

Declaration
public double shfl(double v, uint rank)
Parameters
Type Name Description
System.Double v
System.UInt32 rank
Returns
Type Description
System.Double

shfl(Int32, UInt32)

Direct copy from indexed lane

Declaration
public int shfl(int v, uint rank)
Parameters
Type Name Description
System.Int32 v
System.UInt32 rank
Returns
Type Description
System.Int32

shfl(Int64, UInt32)

Direct copy from indexed lane

Declaration
public long shfl(long v, uint rank)
Parameters
Type Name Description
System.Int64 v
System.UInt32 rank
Returns
Type Description
System.Int64

shfl(Single, UInt32)

Direct copy from indexed lane

Declaration
public float shfl(float v, uint rank)
Parameters
Type Name Description
System.Single v
System.UInt32 rank
Returns
Type Description
System.Single

shfl(UInt32, UInt32)

Direct copy from indexed lane

Declaration
public uint shfl(uint v, uint rank)
Parameters
Type Name Description
System.UInt32 v
System.UInt32 rank
Returns
Type Description
System.UInt32

shfl(UInt64, UInt32)

Direct copy from indexed lane

Declaration
public ulong shfl(ulong v, uint rank)
Parameters
Type Name Description
System.UInt64 v
System.UInt32 rank
Returns
Type Description
System.UInt64

shfl_down(Double, Int32)

Copy from a lane with higher ID relative to caller

Declaration
public double shfl_down(double v, int delta)
Parameters
Type Name Description
System.Double v
System.Int32 delta
Returns
Type Description
System.Double

shfl_down(Int32, Int32)

Copy from a lane with higher ID relative to caller

Declaration
public int shfl_down(int v, int delta)
Parameters
Type Name Description
System.Int32 v
System.Int32 delta
Returns
Type Description
System.Int32

shfl_down(Int64, Int32)

Copy from a lane with higher ID relative to caller

Declaration
public long shfl_down(long v, int delta)
Parameters
Type Name Description
System.Int64 v
System.Int32 delta
Returns
Type Description
System.Int64

shfl_down(Single, Int32)

Copy from a lane with higher ID relative to caller

Declaration
public float shfl_down(float v, int delta)
Parameters
Type Name Description
System.Single v
System.Int32 delta
Returns
Type Description
System.Single

shfl_down(UInt32, Int32)

Copy from a lane with higher ID relative to caller

Declaration
public uint shfl_down(uint v, int delta)
Parameters
Type Name Description
System.UInt32 v
System.Int32 delta
Returns
Type Description
System.UInt32

shfl_down(UInt64, Int32)

Copy from a lane with higher ID relative to caller

Declaration
public ulong shfl_down(ulong v, int delta)
Parameters
Type Name Description
System.UInt64 v
System.Int32 delta
Returns
Type Description
System.UInt64

shfl_up(Double, Int32)

Copy from a lane with lower ID relative to caller

Declaration
public double shfl_up(double v, int delta)
Parameters
Type Name Description
System.Double v
System.Int32 delta
Returns
Type Description
System.Double

shfl_up(Int32, Int32)

Copy from a lane with lower ID relative to caller

Declaration
public int shfl_up(int v, int delta)
Parameters
Type Name Description
System.Int32 v
System.Int32 delta
Returns
Type Description
System.Int32

shfl_up(Int64, Int32)

Copy from a lane with lower ID relative to caller

Declaration
public long shfl_up(long v, int delta)
Parameters
Type Name Description
System.Int64 v
System.Int32 delta
Returns
Type Description
System.Int64

shfl_up(Single, Int32)

Copy from a lane with lower ID relative to caller

Declaration
public float shfl_up(float v, int delta)
Parameters
Type Name Description
System.Single v
System.Int32 delta
Returns
Type Description
System.Single

shfl_up(UInt32, Int32)

Copy from a lane with lower ID relative to caller

Declaration
public uint shfl_up(uint v, int delta)
Parameters
Type Name Description
System.UInt32 v
System.Int32 delta
Returns
Type Description
System.UInt32

shfl_up(UInt64, Int32)

Copy from a lane with lower ID relative to caller

Declaration
public ulong shfl_up(ulong v, int delta)
Parameters
Type Name Description
System.UInt64 v
System.Int32 delta
Returns
Type Description
System.UInt64

shfl_xor(Double, UInt32)

Copy from a lane based on bitwise XOR of own lane ID

Declaration
public double shfl_xor(double v, uint laneMask)
Parameters
Type Name Description
System.Double v
System.UInt32 laneMask
Returns
Type Description
System.Double

shfl_xor(Int32, UInt32)

Copy from a lane based on bitwise XOR of own lane ID

Declaration
public int shfl_xor(int v, uint laneMask)
Parameters
Type Name Description
System.Int32 v
System.UInt32 laneMask
Returns
Type Description
System.Int32

shfl_xor(Int64, UInt32)

Copy from a lane based on bitwise XOR of own lane ID

Declaration
public long shfl_xor(long v, uint laneMask)
Parameters
Type Name Description
System.Int64 v
System.UInt32 laneMask
Returns
Type Description
System.Int64

shfl_xor(Single, UInt32)

Copy from a lane based on bitwise XOR of own lane ID

Declaration
public float shfl_xor(float v, uint laneMask)
Parameters
Type Name Description
System.Single v
System.UInt32 laneMask
Returns
Type Description
System.Single

shfl_xor(UInt32, UInt32)

Copy from a lane based on bitwise XOR of own lane ID

Declaration
public uint shfl_xor(uint v, uint laneMask)
Parameters
Type Name Description
System.UInt32 v
System.UInt32 laneMask
Returns
Type Description
System.UInt32

shfl_xor(UInt64, UInt32)

Copy from a lane based on bitwise XOR of own lane ID

Declaration
public ulong shfl_xor(ulong v, uint laneMask)
Parameters
Type Name Description
System.UInt64 v
System.UInt32 laneMask
Returns
Type Description
System.UInt64

size()

Get the size (total number of threads) of a group

Declaration
public uint size()
Returns
Type Description
System.UInt32

sync()

synchronize threads within the group

Declaration
public void sync()

thread_rank()

Thread index within the group

Declaration
public uint thread_rank()
Returns
Type Description
System.UInt32

Operators

Implicit(thread_block_tile_8 to thread_group)

Declaration
[IntrinsicFunction("")]
public static implicit operator thread_group(thread_block_tile_8 tb)
Parameters
Type Name Description
thread_block_tile_8 tb
Returns
Type Description
thread_group
Back to top Generated by DocFX