Commit d880034a authored by Nikola Dinev's avatar Nikola Dinev
Browse files

SiddonsMethodCUDA threads per block now bound to kernel variable

parent 68e70553
Pipeline #151976 passed with stages
in 53 seconds
......@@ -74,7 +74,7 @@ namespace elsa
std::vector<Geometry> _geometryList;
/// threads per block used in the kernel execution configuration
const int _threadsPerBlock = 64;
const int _threadsPerBlock = TraverseSiddonsCUDA<data_t>::MAX_THREADS_PER_BLOCK;
/// inverse of of projection matrices; stored column-wise on GPU
cudaPitchedPtr _projInvMatrices;
......@@ -82,9 +82,6 @@ namespace elsa
/// ray origins for each acquisition angle
cudaPitchedPtr _rayOrigins;
/// pointer to device global memory storing _boundingBox.max
uint* _boxMax;
/// sets up and starts the kernel traversal routine (for both apply/applyAdjoint)
template<bool adjoint>
void traverseVolume(void* volumePtr, void* sinoPtr) const;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment