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

missing hipLaunchKernel() - the version with void **args #40

Open
Noerr opened this issue Apr 4, 2023 · 2 comments
Open

missing hipLaunchKernel() - the version with void **args #40

Noerr opened this issue Apr 4, 2023 · 2 comments

Comments

@Noerr
Copy link

Noerr commented Apr 4, 2023

It looks like HIP has provided since 2019:

hipError_t  hipLaunchKernel(const void* function_address,
			    dim3 numBlocks, dim3 dimBlocks, void** args,
				size_t sharedMemBytes, hipStream_t stream);

HIP-CPU only provides hipLaunchKernelGGL with variadic macro expansion of kernel arguments.
I want to use the cleaner void **args API provided by CUDA and HIP.
Please implement this component of the HIP API

@dc-dc-dc
Copy link

dc-dc-dc commented Aug 5, 2023

Would also like to see this get added as it would simplify my use case and not require recompiling for every kernel

@dc-dc-dc
Copy link

Does look like there is a function that can be used hip::detail::launch_kernel_from_so but I am getting a seg fault when trying to run it

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

No branches or pull requests

2 participants