CUDPP 2.0
CUDA Data-Parallel Primitives Library
/mnt/hgfs/VMWare/cudpp/src/cudpp_hash/cudpp_hash.cpp File Reference

Main hash table library source file. Implements wrappers for public interface. More...

#include <cuda_runtime.h>
#include "cudpp_hash.h"
#include "cudpp_plan.h"
#include "cudpp_manager.h"
#include "hash_table.h"
#include "hash_compacting.h"
#include "hash_multivalue.h"

Hash Table Interface

const unsigned int CUDPP_HASH_KEY_NOT_FOUND = CudaHT::CuckooHashing::kNotFound
CUDPP_DLL CUDPPResult cudppHashTable (CUDPPHandle cudppHandle, CUDPPHandle *plan, const CUDPPHashTableConfig *config)
 Creates a CUDPP hash table in GPU memory given an input hash table configuration; returns the plan for that hash table.
CUDPP_DLL CUDPPResult cudppHashInsert (CUDPPHandle plan, const void *d_keys, const void *d_vals, size_t num)
 Inserts keys and values into a CUDPP hash table.
CUDPP_DLL CUDPPResult cudppHashRetrieve (CUDPPHandle plan, const void *d_keys, void *d_vals, size_t num)
 Retrieves values, given keys, from a CUDPP hash table.
CUDPP_DLL CUDPPResult cudppDestroyHashTable (CUDPPHandle cudppHandle, CUDPPHandle plan)
 Destroys a hash table given its handle.
CUDPP_DLL CUDPPResult cudppMultivalueHashGetValuesSize (CUDPPHandle plan, unsigned int *size)
 Retrieves the size of the values array in a multivalue hash table.
CUDPP_DLL CUDPPResult cudppMultivalueHashGetAllValues (CUDPPHandle plan, unsigned int **d_vals)
 Retrieves a pointer to the values array in a multivalue hash table.

Detailed Description

Main hash table library source file. Implements wrappers for public interface.

cudpp_hash.cpp

Main hash table library source file. Implements wrappers for public interface. These wrappers call application-level operators and internal data structures.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines