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

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();

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy