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

com.nativelibs4java.opencl.blas.CLMatrix2D Maven / Gradle / Ivy

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.nativelibs4java.opencl.blas;

import com.nativelibs4java.opencl.CLBuffer;
import com.nativelibs4java.opencl.CLContext;
import com.nativelibs4java.opencl.CLQueue;
import com.nativelibs4java.opencl.util.Primitive;
import org.bridj.Pointer;

/**
 *
 * @author ochafik
 */
public interface CLMatrix2D {

    Primitive getPrimitive();
    Class getPrimitiveClass();
    CLEvents getEvents();
    CLBuffer getBuffer();
    CLContext getContext();
    CLQueue getQueue();
    long getRowCount();
    long getColumnCount();
    long getStride();
    int getBlockSize();
    CLMatrix2D blankClone();
    CLMatrix2D blankMatrix(long rows, long columns);
    CLKernels getKernels();
    
    void write(Pointer b);
    void read(Pointer b);
    Pointer read();
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy