All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.bytedeco.cuda.cublas.cublasLtMatmulAlgo_t Maven / Gradle / Ivy

// Targeted by JavaCPP version 1.5.11: DO NOT EDIT THIS FILE

package org.bytedeco.cuda.cublas;

import java.nio.*;
import org.bytedeco.javacpp.*;
import org.bytedeco.javacpp.annotation.*;

import static org.bytedeco.javacpp.presets.javacpp.*;
import org.bytedeco.cuda.cudart.*;
import static org.bytedeco.cuda.global.cudart.*;

import static org.bytedeco.cuda.global.cublas.*;


/** Semi-opaque algorithm descriptor (to avoid complicated alloc/free schemes)
 *
 * This structure can be trivially serialized and later restored for use with the same version of cuBLAS library to save
 * on selecting the right configuration again.
 */
@Properties(inherit = org.bytedeco.cuda.presets.cublas.class)
public class cublasLtMatmulAlgo_t extends Pointer {
    static { Loader.load(); }
    /** Default native constructor. */
    public cublasLtMatmulAlgo_t() { super((Pointer)null); allocate(); }
    /** Native array allocator. Access with {@link Pointer#position(long)}. */
    public cublasLtMatmulAlgo_t(long size) { super((Pointer)null); allocateArray(size); }
    /** Pointer cast constructor. Invokes {@link Pointer#Pointer(Pointer)}. */
    public cublasLtMatmulAlgo_t(Pointer p) { super(p); }
    private native void allocate();
    private native void allocateArray(long size);
    @Override public cublasLtMatmulAlgo_t position(long position) {
        return (cublasLtMatmulAlgo_t)super.position(position);
    }
    @Override public cublasLtMatmulAlgo_t getPointer(long i) {
        return new cublasLtMatmulAlgo_t((Pointer)this).offsetAddress(i);
    }

  public native @Cast("uint64_t") long data(int i); public native cublasLtMatmulAlgo_t data(int i, long setter);
  @MemberGetter public native @Cast("uint64_t*") LongPointer data();
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy