| 41 | |
| 42 | template <typename T> |
| 43 | __global__ void HessLambdaKernal(T* news, T* olds, T* oldsu, size_s n){ |
| 44 | size_s i = blockIdx.x * blockDim.x + threadIdx.x; |
| 45 | if(i<n){ |
| 46 | news[i] = (3 * olds[i+1] * olds[i+1] - 1) * oldsu[i+1]; |
| 47 | } |
| 48 | } |
| 49 | |
| 50 | // template <typename T> |
| 51 | // __global__ void compute_sum(T* v_s, T* s0, double* result, size_s size) { |
nothing calls this directly
no outgoing calls
no test coverage detected