Advanced Chunk Processing Library 0.2.0
A comprehensive C++ library for advanced data chunking strategies and processing operations
Loading...
Searching...
No Matches
gpu_chunking.hpp File Reference
#include <cuda_runtime.h>
#include <device_launch_parameters.h>
#include <memory>
#include <stdexcept>
#include <vector>
+ Include dependency graph for gpu_chunking.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  gpu_chunking::GPUChunking< T >
 

Namespaces

namespace  gpu_chunking
 

Macros

#define CUDA_CHECK(call)
 

Functions

__global__ void gpu_chunking::chunk_kernel (const int *data, int *chunk_boundaries, int data_size, int window_size, float threshold)
 

Macro Definition Documentation

◆ CUDA_CHECK

#define CUDA_CHECK (   call)
Value:
do { \
cudaError_t error = call; \
if (error != cudaSuccess) { \
throw std::runtime_error(std::string("CUDA error: ") + cudaGetErrorString(error)); \
} \
} while (0)

Definition at line 12 of file gpu_chunking.hpp.

13 { \
14 cudaError_t error = call; \
15 if (error != cudaSuccess) { \
16 throw std::runtime_error(std::string("CUDA error: ") + cudaGetErrorString(error)); \
17 } \
18 } while (0)