Skip to content

[snicit-hip] Add <cstring> header for memset#215

Closed
maarquitos14 wants to merge 1 commit intoORNL:masterfrom
maarquitos14:maronas/snicit-hip-memset-header
Closed

[snicit-hip] Add <cstring> header for memset#215
maarquitos14 wants to merge 1 commit intoORNL:masterfrom
maarquitos14:maronas/snicit-hip-memset-header

Conversation

@maarquitos14
Copy link
Copy Markdown
Contributor

SNICIT.hpp calls memset on a host pointer (line 239) but doesn't include <cstring>. Without it, hipcc's transitive includes can resolve memset to a __device__-only intrinsic, breaking the host compile. Add the standard header to make the host declaration explicit.

zjin-lcf added a commit to zjin-lcf/HeCBench that referenced this pull request May 1, 2026
@zjin-lcf
Copy link
Copy Markdown
Collaborator

zjin-lcf commented May 1, 2026

Thank you for the pull request. I didn't merge your PR but updated the programs.

@zjin-lcf zjin-lcf closed this May 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants