From 748cac6f3c71f7c9eba1339cc05c50caf23d485a Mon Sep 17 00:00:00 2001 From: Neil Kichler Date: Thu, 29 Aug 2024 18:53:21 +0200 Subject: [PATCH] remove unused header and function --- examples/interval/centered.cu | 6 ------ 1 file changed, 6 deletions(-) diff --git a/examples/interval/centered.cu b/examples/interval/centered.cu index d3f08cf..25f548b 100644 --- a/examples/interval/centered.cu +++ b/examples/interval/centered.cu @@ -6,7 +6,6 @@ #include #include -#include #include @@ -23,11 +22,6 @@ constexpr auto f(auto x) return 3.0 * pow(x, 3) + pow(x, 2) - 5.0 * x - 1.0; } -constexpr auto g(auto x, auto y) -{ - return x * y; -} - __global__ void centered_form(T *xs, I *res, int n) { int i = blockIdx.x * blockDim.x + threadIdx.x;