com.expleague.ml.cuda.data.ArrayBased Maven / Gradle / Ivy
package com.expleague.ml.cuda.data;
import org.jetbrains.annotations.NotNull;
import jcuda.driver.CUdeviceptr;
/**
* Project jmll
*
* @author Ksen
*/
public interface ArrayBased {
@NotNull CUdeviceptr reproduce();
@NotNull ArrayBased set(final @NotNull BASE hostArray);
@NotNull ArrayBased reset(final @NotNull BASE hostArray);
@NotNull BASE get();
void setPointer(final @NotNull CUdeviceptr devicePointer);
@NotNull CUdeviceptr getPointer();
long length();
void destroy();
}