-
Notifications
You must be signed in to change notification settings - Fork 555
Expand file tree
/
Copy pathhsv_rgb.cpp
More file actions
39 lines (31 loc) · 1002 Bytes
/
Copy pathhsv_rgb.cpp
File metadata and controls
39 lines (31 loc) · 1002 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
36
37
38
39
/*******************************************************
* 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 <hsv_rgb.hpp>
#include <err_oneapi.hpp>
namespace arrayfire {
namespace oneapi {
template<typename T>
Array<T> hsv2rgb(const Array<T>& in) {
ONEAPI_NOT_SUPPORTED("");
Array<T> out = createEmptyArray<T>(in.dims());
return out;
}
template<typename T>
Array<T> rgb2hsv(const Array<T>& in) {
ONEAPI_NOT_SUPPORTED("");
Array<T> out = createEmptyArray<T>(in.dims());
return out;
}
#define INSTANTIATE(T) \
template Array<T> hsv2rgb<T>(const Array<T>& in); \
template Array<T> rgb2hsv<T>(const Array<T>& in);
INSTANTIATE(double)
INSTANTIATE(float)
} // namespace oneapi
} // namespace arrayfire