Class CUDA_RESOURCE_DESC

    • Constructor Detail

      • CUDA_RESOURCE_DESC

        public CUDA_RESOURCE_DESC()
        Default native constructor.
      • CUDA_RESOURCE_DESC

        public CUDA_RESOURCE_DESC​(long size)
        Native array allocator. Access with Pointer.position(long).
    • Method Detail

      • resType

        @Cast("CUresourcetype")
        public int resType()
        Resource type
      • res_array_hArray

        @Name("res.array.hArray")
        public CUarray_st res_array_hArray()
        CUDA array
      • res_mipmap_hMipmappedArray

        @Name("res.mipmap.hMipmappedArray")
        public CUmipmappedArray_st res_mipmap_hMipmappedArray()
        CUDA mipmapped array
      • res_linear_devPtr

        @Name("res.linear.devPtr")
        @Cast("CUdeviceptr")
        public long res_linear_devPtr()
        Device pointer
      • res_linear_format

        @Name("res.linear.format")
        @Cast("CUarray_format")
        public int res_linear_format()
        Array format
      • res_linear_numChannels

        @Name("res.linear.numChannels")
        @Cast("unsigned int")
        public int res_linear_numChannels()
        Channels per array element
      • res_linear_numChannels

        public CUDA_RESOURCE_DESC res_linear_numChannels​(int setter)
      • res_linear_sizeInBytes

        @Name("res.linear.sizeInBytes")
        @Cast("size_t")
        public long res_linear_sizeInBytes()
        Size in bytes
      • res_linear_sizeInBytes

        public CUDA_RESOURCE_DESC res_linear_sizeInBytes​(long setter)
      • res_pitch2D_devPtr

        @Name("res.pitch2D.devPtr")
        @Cast("CUdeviceptr")
        public long res_pitch2D_devPtr()
        Device pointer
      • res_pitch2D_format

        @Name("res.pitch2D.format")
        @Cast("CUarray_format")
        public int res_pitch2D_format()
        Array format
      • res_pitch2D_numChannels

        @Name("res.pitch2D.numChannels")
        @Cast("unsigned int")
        public int res_pitch2D_numChannels()
        Channels per array element
      • res_pitch2D_numChannels

        public CUDA_RESOURCE_DESC res_pitch2D_numChannels​(int setter)
      • res_pitch2D_width

        @Name("res.pitch2D.width")
        @Cast("size_t")
        public long res_pitch2D_width()
        Width of the array in elements
      • res_pitch2D_height

        @Name("res.pitch2D.height")
        @Cast("size_t")
        public long res_pitch2D_height()
        Height of the array in elements
      • res_pitch2D_pitchInBytes

        @Name("res.pitch2D.pitchInBytes")
        @Cast("size_t")
        public long res_pitch2D_pitchInBytes()
        Pitch between two rows in bytes
      • res_pitch2D_pitchInBytes

        public CUDA_RESOURCE_DESC res_pitch2D_pitchInBytes​(long setter)
      • res_reserved_reserved

        @Name("res.reserved.reserved")
        public int res_reserved_reserved​(int i)
      • res_reserved_reserved

        public CUDA_RESOURCE_DESC res_reserved_reserved​(int i,
                                                        int setter)
      • flags

        @Cast("unsigned int")
        public int flags()
        Flags (must be zero)