Class Main

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

public class Main
extends Object
This test class performs the following functions: 1) Create a randomly populated set of matrices for correlation/co-occurrence computation 2) Execute the CPU-based computation using Lucene FixedBitSets 3) Execute the GPU-based computation using Aparapi CorrMatrix host and kernel 4) Verify the results of FixedBitSet and CorrMatrix by comparing matrices to each other
Author:
ryan.lamothe at gmail.com
  • Constructor Summary

    Constructors 
    Constructor Description
    Main()  
  • Method Summary

    Modifier and Type Method Description
    static void main​(String[] _args)
    NumTerms and NumLongs (documents) need to be adjusted manually right now to force 'striping' to occur (see Host code for details)

    Methods inherited from class java.lang.Object

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

    • Main

      public Main()
  • Method Details

    • main

      public static void main​(String[] _args)
      NumTerms and NumLongs (documents) need to be adjusted manually right now to force 'striping' to occur (see Host code for details)
      Parameters:
      _args - The command-line arguments.