summaryrefslogtreecommitdiff
path: root/compat
diff options
context:
space:
mode:
authorMohamed Khaled Mohamed <mohamed.elbassiony00@eng-st.cu.edu.eg>2022-08-30 21:13:27 +0200
committerTimo Rothenpieler <timo@rothenpieler.org>2022-09-03 15:18:56 +0200
commit1a5cd79f518268203c4fff7c664b387e5720f1f4 (patch)
tree2f86284986019a58906caec963a442c8bc7b2cc2 /compat
parentd1513e7f9c473dc45c4a1e060a187c32f10c4a2f (diff)
downloadffmpeg-1a5cd79f518268203c4fff7c664b387e5720f1f4.tar.gz
avfilter: add bilateral_cuda filter
GSoC 2022 Signed-off-by: Mohamed Khaled <mohamed.elbassiony00@eng-st.cu.edu.eg> Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
Diffstat (limited to 'compat')
-rw-r--r--compat/cuda/cuda_runtime.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/compat/cuda/cuda_runtime.h b/compat/cuda/cuda_runtime.h
index 5837c1ad37..082e4a8ba3 100644
--- a/compat/cuda/cuda_runtime.h
+++ b/compat/cuda/cuda_runtime.h
@@ -182,6 +182,7 @@ static inline __device__ float fabsf(float a) { return __builtin_fabsf(a); }
static inline __device__ float fabs(float a) { return __builtin_fabsf(a); }
static inline __device__ double fabs(double a) { return __builtin_fabs(a); }
static inline __device__ float sqrtf(float a) { return __builtin_sqrtf(a); }
+static inline __device__ float powf(float a, float y) { return __builtin_powf(a,y); }
static inline __device__ float __saturatef(float a) { return __nvvm_saturate_f(a); }
static inline __device__ float __sinf(float a) { return __nvvm_sin_approx_f(a); }