-
Notifications
You must be signed in to change notification settings - Fork 555
Expand file tree
/
Copy pathanisotropic_diffusion.cpp
More file actions
33 lines (29 loc) · 1.06 KB
/
Copy pathanisotropic_diffusion.cpp
File metadata and controls
33 lines (29 loc) · 1.06 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
/*******************************************************
* Copyright (c) 2022, ArrayFire
* All rights reserved.
*
* This file is distributed under 3-clause BSD license.
* The complete license agreement can be obtained at:
* http://arrayfire.com/licenses/BSD-3-Clause
********************************************************/
#include <Array.hpp>
#include <anisotropic_diffusion.hpp>
#include <copy.hpp>
#include <err_oneapi.hpp>
#include <af/dim4.hpp>
namespace arrayfire {
namespace oneapi {
template<typename T>
void anisotropicDiffusion(Array<T>& inout, const float dt, const float mct,
const af::fluxFunction fftype,
const af::diffusionEq eq) {
ONEAPI_NOT_SUPPORTED("");
}
#define INSTANTIATE(T) \
template void anisotropicDiffusion<T>( \
Array<T> & inout, const float dt, const float mct, \
const af::fluxFunction fftype, const af::diffusionEq eq);
INSTANTIATE(double)
INSTANTIATE(float)
} // namespace oneapi
} // namespace arrayfire