Skip to content

Conversation

@DemonInTheCloset
Copy link
Contributor

Mostly unused template args/dead code warnings.

GPUArray contains a Boxed Vec, this makes little sense, as a Vec is already a ptr to an array on the heap, so the double indirection is undesireable.

struct GPUArray<T: Copy> {
    raw: Box<Vec<T>>,
    gpu_ptr: NonZeroU64,
}

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.

1 participant