| 33 | |
| 34 | template <typename T> |
| 35 | __global__ void GradLambdaKernal(T* news, T* olds, size_s n){ |
| 36 | size_s i = blockIdx.x * blockDim.x + threadIdx.x; |
| 37 | if(i<n){ |
| 38 | news[i] = (olds[i+1] * olds[i+1] - 1)*olds[i+1]; |
| 39 | } |
| 40 | } |
| 41 | |
| 42 | template <typename T> |
| 43 | __global__ void HessLambdaKernal(T* news, T* olds, T* oldsu, size_s n){ |
nothing calls this directly
no outgoing calls
no test coverage detected