Shamrock
2025.10.0
Astrophysical Code
Loading...
Searching...
No Matches
shamalgs
include
shamalgs
details
algorithm
bitonicSort_updated_usm.hpp
Go to the documentation of this file.
1
// -------------------------------------------------------//
2
//
3
// SHAMROCK code for hydrodynamics
4
// Copyright (c) 2021-2026 Timothée David--Cléris <tim.shamrock@proton.me>
5
// SPDX-License-Identifier: CeCILL Free Software License Agreement v2.1
6
// Shamrock is licensed under the CeCILL 2.1 License, see LICENSE for more information
7
//
8
// -------------------------------------------------------//
9
10
#pragma once
11
19
#include "
shambackends/DeviceBuffer.hpp
"
20
#include "
shambackends/DeviceQueue.hpp
"
21
#include "
shambackends/sycl.hpp
"
22
#include "
shambackends/typeAliasVec.hpp
"
23
28
namespace
shamalgs::algorithm::details
{
29
30
template
<
class
Tkey,
class
Tval, u32 MaxStencilSize>
31
void
sort_by_key_bitonic_updated_usm(
32
const
sham::DeviceScheduler_ptr &sched,
33
sham::DeviceBuffer<Tkey>
&buf_key,
34
sham::DeviceBuffer<Tval>
&buf_values,
35
u32
len);
36
37
}
// namespace shamalgs::algorithm::details
DeviceBuffer.hpp
DeviceQueue.hpp
u32
std::uint32_t u32
32 bit unsigned integer
Definition
aliases_int.hpp:27
sham::DeviceBuffer
A buffer allocated in USM (Unified Shared Memory)
Definition
DeviceBuffer.hpp:106
shamalgs::algorithm::details
namespace to store algorithms implemented by shamalgs
Definition
bitonicSort.hpp:21
sycl.hpp
typeAliasVec.hpp
Generated on Wed May 13 2026 13:21:48 for Shamrock by
1.9.8