Shamrock 2025.10.0
Astrophysical Code
Loading...
Searching...
No Matches
Functions
compute_ranges.hpp File Reference
#include "shammath/sfc/morton.hpp"
#include <memory>
+ Include dependency graph for compute_ranges.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

template<class u_morton >
void sycl_compute_cell_ranges (sycl::queue &queue, u32 leaf_cnt, u32 internal_cnt, std::unique_ptr< sycl::buffer< u_morton > > &buf_morton, std::unique_ptr< sycl::buffer< u32 > > &buf_lchild_id, std::unique_ptr< sycl::buffer< u32 > > &buf_rchild_id, std::unique_ptr< sycl::buffer< u8 > > &buf_lchild_flag, std::unique_ptr< sycl::buffer< u8 > > &buf_rchild_flag, std::unique_ptr< sycl::buffer< u32 > > &buf_endrange, std::unique_ptr< sycl::buffer< typename shamrock::sfc::MortonCodes< u_morton, 3 >::int_vec_repr > > &buf_pos_min_cell, std::unique_ptr< sycl::buffer< typename shamrock::sfc::MortonCodes< u_morton, 3 >::int_vec_repr > > &buf_pos_max_cell)
 

Detailed Description

Author
Timothée David–Cléris (tim.s.nosp@m.hamr.nosp@m.ock@p.nosp@m.roto.nosp@m.n.me)

Definition in file compute_ranges.hpp.

Function Documentation

◆ sycl_compute_cell_ranges()

template<class u_morton >
void sycl_compute_cell_ranges ( sycl::queue &  queue,
u32  leaf_cnt,
u32  internal_cnt,
std::unique_ptr< sycl::buffer< u_morton > > &  buf_morton,
std::unique_ptr< sycl::buffer< u32 > > &  buf_lchild_id,
std::unique_ptr< sycl::buffer< u32 > > &  buf_rchild_id,
std::unique_ptr< sycl::buffer< u8 > > &  buf_lchild_flag,
std::unique_ptr< sycl::buffer< u8 > > &  buf_rchild_flag,
std::unique_ptr< sycl::buffer< u32 > > &  buf_endrange,
std::unique_ptr< sycl::buffer< typename shamrock::sfc::MortonCodes< u_morton, 3 >::int_vec_repr > > &  buf_pos_min_cell,
std::unique_ptr< sycl::buffer< typename shamrock::sfc::MortonCodes< u_morton, 3 >::int_vec_repr > > &  buf_pos_max_cell 
)

Definition at line 21 of file compute_ranges.cpp.