Skip to content

Conversation

@AdUhTkJm
Copy link
Contributor

The process is essentially the same as registering global functions.

This currently only works for __device__ and __shared__ variables. For textures and surfaces, another registration function will be needed. (We don't have support for these variables in CIR yet, and I have no idea what they really are.)

Copy link
Member

@bcardosolopes bcardosolopes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM after minor nit

@bcardosolopes
Copy link
Member

Good to land once the conflict is solved

@koparasy
Copy link
Contributor

@AdUhTkJm are you ok with me fixing this and adding HIP support?

@bcardosolopes are you ok with having a single PR about CUDA/HIP. Or do you want these to be separate?

@bcardosolopes
Copy link
Member

are you ok with having a single PR about CUDA/HIP. Or do you want these to be separate?

as long as you add tests I'm totally ok with it (it can even share the same file and just use different RUN lines)

@AdUhTkJm
Copy link
Contributor Author

@AdUhTkJm are you ok with me fixing this and adding HIP support?

@bcardosolopes are you ok with having a single PR about CUDA/HIP. Or do you want these to be separate?

Yes of course. Thanks for your help!

@koparasy
Copy link
Contributor

Pushed on a separate PR (#1980). Added tests for HIP and fixed a minor.

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.

3 participants