79357181

Date: 2025-01-15 05:59:57
Score: 3
Natty:
Report link

Alright I got why… cudaMemset, like a plain memset, only set each byte to the target value, while int is, in most machines, 4 bytes. Hence the issue.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: PkDrew