jcuda.jcudpp
Class CUDPPHashTableConfig

java.lang.Object
  extended by jcuda.jcudpp.CUDPPHashTableConfig

public class CUDPPHashTableConfig
extends java.lang.Object

Configuration struct for creating a hash table.

See Also:
JCudpp.cudppHashTable(jcuda.jcudpp.CUDPPHandle, jcuda.jcudpp.CUDPPHandle, jcuda.jcudpp.CUDPPHashTableConfig), CUDPPHashTableType

Field Summary
 int kInputSize
          Number of elements to be stored in hash table
 float space_usage
          Space factor multiple for the hash table; multiply space_usage by kInputSize to get the actual space allocation in GPU memory. 1.05 is about the minimum possible to get a working hash table.
 int type
          The hash table type.
 
Constructor Summary
CUDPPHashTableConfig()
          Creates a new, uninitialized CUDPPHashTableConfig
 
Method Summary
 java.lang.String toString()
          Returns a String representation of this object.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

type

public int type
The hash table type.

See Also:
CUDPPHashTableType

kInputSize

public int kInputSize
Number of elements to be stored in hash table


space_usage

public float space_usage
Space factor multiple for the hash table; multiply space_usage by kInputSize to get the actual space allocation in GPU memory. 1.05 is about the minimum possible to get a working hash table. Larger values use more space but take less time to construct.

Constructor Detail

CUDPPHashTableConfig

public CUDPPHashTableConfig()
Creates a new, uninitialized CUDPPHashTableConfig

Method Detail

toString

public java.lang.String toString()
Returns a String representation of this object.

Overrides:
toString in class java.lang.Object
Returns:
A String representation of this object.