Skip to content

typed_set mistakenly accepts values of size 8 #517

Closed
@eyalroz

Description

@eyalroz

The cuda::memory::device::typed_set function template is only supposed to accept elements of a size which has a cuMemsetDXX() function, for XX being the size in bits of the type. That means sizes of 1, 2 and 4. But - we mistakenly currently accept inputs of size 8, and don't handle them at all.

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions