Skip to content

Conversation

samsartor
Copy link

@samsartor samsartor commented Aug 2, 2020

PhantomData<T> should be DeviceCopy for all T since it is a ZST and no T will actually need to be copied.
UnsafeCell<T> is a ABI-transparent wrapper type which should be DeviceCopy for all T: DeviceCopy.

I may throw more into this PR later but these are just the first two things I stubbed my toe on trying to improve the soundness of my path tracer kernel.

(this crate + ptx_builder is awesome BTW)

@samsartor
Copy link
Author

The CI failure seems unrelated?

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