Module openj9.cuda
Package com.ibm.cuda

Class Dim3

java.lang.Object
com.ibm.cuda.Dim3

public final class Dim3 extends Object
The Dim3 class represents the dimensions of a cube.
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    int
    The size of this cube in the x dimension.
    int
    The size of this cube in the y dimension.
    int
    The size of this cube in the z dimension.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Dim3(int x)
    Creates a cube of dimension (x,1,1).
    Dim3(int x, int y)
    Creates a cube of dimension (x,y,1).
    Dim3(int x, int y, int z)
    Creates a cube of dimension (x,y,z).
  • Method Summary

    Methods declared in class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • x

      public int x
      The size of this cube in the x dimension.
    • y

      public int y
      The size of this cube in the y dimension.
    • z

      public int z
      The size of this cube in the z dimension.
  • Constructor Details

    • Dim3

      public Dim3(int x)
      Creates a cube of dimension (x,1,1).
      Parameters:
      x - the x dimension
    • Dim3

      public Dim3(int x, int y)
      Creates a cube of dimension (x,y,1).
      Parameters:
      x - the x dimension
      y - the y dimension
    • Dim3

      public Dim3(int x, int y, int z)
      Creates a cube of dimension (x,y,z).
      Parameters:
      x - the x dimension
      y - the y dimension
      z - the z dimension