#include "VoxelIntersection.h"Go to the source code of this file.
Macros | |
| #define | CUDA_CHECK_ERROR(ans) |
Functions | |
| void | gpuAssert (cudaError_t code, const char *file, int line, bool abort=true) |
| float3 | vec3tofloat3 (helios::vec3 v3) |
| helios::vec3 | float3tovec3 (float3 f3) |
| __device__ float3 | d_rotatePoint_vi (const float3 &position, const float &theta, const float &phi) |
| __global__ void | insideVolume_vi (const uint Nhits, const float3 *d_hit_xyz, const uint Ngridcells, const float3 *d_grid_size, const float3 *d_grid_center, const float *d_grid_rotation, int *d_hit_vol) |
CUDA-related functions for voxel-intersection plug-in
Copyright (C) 2016-2026 Brian Bailey
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 2.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
Definition in file VoxelIntersection.cu.
| #define CUDA_CHECK_ERROR | ( | ans | ) |
Definition at line 18 of file VoxelIntersection.cu.
| __device__ float3 d_rotatePoint_vi | ( | const float3 & | position, |
| const float & | theta, | ||
| const float & | phi | ||
| ) |
Definition at line 46 of file VoxelIntersection.cu.
|
inline |
Definition at line 38 of file VoxelIntersection.cu.
|
inline |
Definition at line 22 of file VoxelIntersection.cu.
| __global__ void insideVolume_vi | ( | const uint | Nhits, |
| const float3 * | d_hit_xyz, | ||
| const uint | Ngridcells, | ||
| const float3 * | d_grid_size, | ||
| const float3 * | d_grid_center, | ||
| const float * | d_grid_rotation, | ||
| int * | d_hit_vol | ||
| ) |
Definition at line 98 of file VoxelIntersection.cu.
|
inline |
Definition at line 30 of file VoxelIntersection.cu.