NVIDIA / NVIDIA/cccl

Implement `strncmp`

Open
#962 0 comments 0 reactions 1 assignee Claimed by @griwes View on GitHub
libcu++
Dominant language
C++
Stars
2.5k
Forks
486
Avg merge
2d 6h
Merged PRs (30d)
295

Description

I'd like an optimized [`strncmp`](https://en.cppreference.com/w/c/string/byte/strncmp) that works in device code. It should handle the two pointers being misaligned and use vectorized loads when possible.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.