Class CorrMatrixHost

java.lang.Object
com.aparapi.examples.matrix.CorrMatrixHost

public class CorrMatrixHost
extends Object
GPU calculations using OpenBitSet Intersection for OpenBitSets Based on code from: apache.lucene.util.BitUtil.java
Author:
ryan.lamothe at gmail.com, sedillard at gmail.com
  • Constructor Summary

    Constructors 
    Constructor Description
    CorrMatrixHost()  
  • Method Summary

    Modifier and Type Method Description
    static int[][] intersectionMatrix​(long[][] matrixA, long[][] matrixB, com.aparapi.Kernel.EXECUTION_MODE executionMode)
    Perform matrix intersection for two lists of Lucene OpenBitSet-based packed longs

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • intersectionMatrix

      public static int[][] intersectionMatrix​(long[][] matrixA, long[][] matrixB, com.aparapi.Kernel.EXECUTION_MODE executionMode)
      Perform matrix intersection for two lists of Lucene OpenBitSet-based packed longs
      Parameters:
      matrixA - The first term-document matrix
      matrixB - The second term-document matrix
      executionMode - EXECUTION_MODE
      Returns:
      result Matrix