Graphite
Loading...
Searching...
No Matches
utils.hpp File Reference
#include <array>
#include <graphite/vector.hpp>
#include <thrust/device_vector.h>
#include <thrust/universal_vector.h>
Include dependency graph for utils.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  graphite::HandleManager< H >
 

Functions

template<typename T >
void graphite::prefetch_vector_on_device_async (const thrust::universal_vector< T > &vec, int device_id, cudaStream_t stream)
 
template<typename T >
void graphite::prefetch_vector_on_device_async (const managed_vector< T > &vec, int device_id, cudaStream_t stream)
 
template<typename T >
void graphite::prefetch_vector_on_host (const thrust::universal_vector< T > &vec, cudaStream_t stream)
 
template<typename T >
void graphite::prefetch_vector_on_host (const managed_vector< T > &vec, cudaStream_t stream)
 
template<typename T >
void graphite::print_device_vector (const thrust::device_vector< T > &vec)
 
template<typename T >
void graphite::print_device_vector (const T *vec, size_t size)
 
size_t graphite::mix (size_t x)
 
template<typename T >
void graphite::hash_combine (size_t &seed, T const &v)