|
Lift
Library of parallel computing primitives for GPUs and multi-core CPUs
|
Namespaces | |
| __internal | |
| lift | |
| x86_64 | |
Typedefs | |
| typedef uint8_t | uint8 |
| typedef int8_t | int8 |
| typedef uint16_t | uint16 |
| typedef int16_t | int16 |
| typedef uint32_t | uint32 |
| typedef int32_t | int32 |
| typedef uint64_t | uint64 |
| typedef int64_t | int64 |
Enumerations | |
| enum | target_system { host, cuda } |
Functions | |
| template<typename T > | |
| CUDA_HOST_DEVICE uint32 | binary_search (const T *data, uint32 size, const T val) |
| template<typename T > | |
| CUDA_HOST_DEVICE uint32 | lower_bound (const T *data, uint32 size, const T val) |
| template<typename InputIterator , typename Function , typename index_type > | |
| __global__ void | for_each_kernel (InputIterator input, size_t length, Function func) |
| template<typename InputIterator , typename Function > | |
| void | for_each (InputIterator input, size_t length, Function func, int2 launch_params={0, 0}) |
| template<typename InputIterator , typename Function > | |
| int2 | for_each_launch_parameters (InputIterator input, size_t length, Function func) |
| template<class T > | |
| int2 | launch_parameters (T kernel, size_t elements, int dynamic_smem_size=0) |
| template<target_system system, typename T , typename I > | |
| LIFT_HOST_DEVICE const ldg_pointer< system, T, I > | make_ldg_pointer (const pointer< system, T, I > p) |
| template<typename T > | |
| static LIFT_HOST_DEVICE void | swap (T &a, T &b) |
| static __device__ unsigned int | lane_id (void) |
Variables | |
| std::vector< test * > | test_list = { } |
| thread_local test * | current_test = nullptr |
| typedef int16_t lift::int16 |
| typedef int32_t lift::int32 |
| typedef int64_t lift::int64 |
| typedef int8_t lift::int8 |
| typedef uint16_t lift::uint16 |
| typedef uint32_t lift::uint32 |
| typedef uint64_t lift::uint64 |
| typedef uint8_t lift::uint8 |
| enum lift::target_system |
| Enumerator | |
|---|---|
| host | |
| cuda | |
Definition at line 36 of file backends.h.
| CUDA_HOST_DEVICE uint32 lift::binary_search | ( | const T * | data, |
| uint32 | size, | ||
| const T | val | ||
| ) |
Definition at line 39 of file binsearch.h.
| void lift::for_each | ( | InputIterator | input, |
| size_t | length, | ||
| Function | func, | ||
| int2 | launch_params = { 0, 0 } |
||
| ) |
Definition at line 53 of file for_each.h.
| __global__ void lift::for_each_kernel | ( | InputIterator | input, |
| size_t | length, | ||
| Function | func | ||
| ) |
Definition at line 40 of file for_each.h.
| int2 lift::for_each_launch_parameters | ( | InputIterator | input, |
| size_t | length, | ||
| Function | func | ||
| ) |
Definition at line 101 of file for_each.h.
|
inlinestatic |
| int2 lift::launch_parameters | ( | T | kernel, |
| size_t | elements, | ||
| int | dynamic_smem_size = 0 |
||
| ) |
Definition at line 39 of file launch_parameters.h.
| CUDA_HOST_DEVICE uint32 lift::lower_bound | ( | const T * | data, |
| uint32 | size, | ||
| const T | val | ||
| ) |
Definition at line 75 of file binsearch.h.
| LIFT_HOST_DEVICE const ldg_pointer<system, T, I> lift::make_ldg_pointer | ( | const pointer< system, T, I > | p | ) |
Definition at line 145 of file ldg_wrapper.h.
|
inlinestatic |
| thread_local test * lift::current_test = nullptr |
Definition at line 41 of file entrypoint.cu.
| std::vector< test * > lift::test_list = { } |
Definition at line 44 of file entrypoint.cu.
1.8.6