Skip to content

Commit b95d0eb

Browse files
authored
Update ekat_kokkos_utils.hpp
Fixed CUDA/HIP/SYCL test failure
1 parent 2a23c5b commit b95d0eb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/ekat/kokkos/ekat_kokkos_utils.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -633,7 +633,7 @@ KOKKOS_INLINE_FUNCTION
633633
void strcpy(char* dst, const char* src)
634634
{
635635
EKAT_KERNEL_ASSERT(dst != NULL && src != NULL);
636-
while(*dst++ == *src++);
636+
while(*dst++ = *src++);
637637
}
638638
KOKKOS_INLINE_FUNCTION
639639
int strcmp(const char* first, const char* second)

0 commit comments

Comments
 (0)