Skip to content

Commit

Permalink
Remove const from const size_t param in cudaMemcpy_pullback
Browse files Browse the repository at this point in the history
  • Loading branch information
kchristin22 committed Nov 5, 2024
1 parent 6971f24 commit e1809c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/clad/Differentiator/BuiltinDerivatives.h
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ __global__ void atomicAdd_kernel(T* destPtr, T* srcPtr, size_t N) {
}

template <typename T>
void cudaMemcpy_pullback(T* destPtr, const T* srcPtr, const size_t count,
void cudaMemcpy_pullback(T* destPtr, const T* srcPtr, size_t count,
cudaMemcpyKind kind, T* d_destPtr, T* d_srcPtr,
size_t* d_count, cudaMemcpyKind* d_kind)
__attribute__((host)) {
Expand Down

0 comments on commit e1809c0

Please sign in to comment.