Graphite  0.5.0
GPU-accelerated graph optimization framework
Loading...
Searching...
No Matches
active.hpp File Reference
#include <thrust/copy.h>
#include <thrust/count.h>
#include <thrust/device_vector.h>
#include <thrust/execution_policy.h>
Include dependency graph for active.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  graphite
 The top-level namespace for Graphite.
 

Functions

__host__ __device__ __forceinline__ bool graphite::is_factor_active (const uint8_t active_val, const uint8_t level)
 
__host__ __device__ __forceinline__ bool graphite::is_vertex_active (const uint8_t *active_state, const size_t vertex_id)
 
size_t graphite::build_active_indices (const thrust::device_vector< uint8_t > &active, thrust::device_vector< size_t > &active_indices, const size_t count, const uint8_t level)