-
Notifications
You must be signed in to change notification settings - Fork 555
Expand file tree
/
Copy pathhist_graphics.cpp
More file actions
35 lines (29 loc) · 884 Bytes
/
Copy pathhist_graphics.cpp
File metadata and controls
35 lines (29 loc) · 884 Bytes
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
34
35
/*******************************************************
* 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 <GraphicsResourceManager.hpp>
#include <err_oneapi.hpp>
#include <hist_graphics.hpp>
namespace arrayfire {
namespace oneapi {
template<typename T>
void copy_histogram(const Array<T> &data, fg_histogram hist) {
ONEAPI_NOT_SUPPORTED("");
}
#define INSTANTIATE(T) \
template void copy_histogram<T>(const Array<T> &, fg_histogram);
INSTANTIATE(float)
INSTANTIATE(int)
INSTANTIATE(uint)
INSTANTIATE(short)
INSTANTIATE(ushort)
INSTANTIATE(schar)
INSTANTIATE(uchar)
} // namespace oneapi
} // namespace arrayfire