Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add #[repr(C)] to all kernel op structs #347

Closed
coreylowman opened this issue Jan 10, 2023 · 0 comments
Closed

Add #[repr(C)] to all kernel op structs #347

coreylowman opened this issue Jan 10, 2023 · 0 comments
Labels
gpu Related to GPU support

Comments

@coreylowman
Copy link
Owner

This is necessary to pass to cuda kernels

Originally posted by @coreylowman in #346 (review)

@coreylowman coreylowman added the gpu Related to GPU support label Jan 10, 2023
coreylowman pushed a commit that referenced this issue Jan 10, 2023
* Implement cuda powi by converting exponent to a float and calling powf kernel

* Add `#[repr(C)]` to tensor operation structs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
gpu Related to GPU support
Projects
None yet
Development

No branches or pull requests

1 participant