Skip to content
New issue

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

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

Already on GitHub? # to your account

Added support for custom kernel names. #401

Merged
merged 5 commits into from
Feb 14, 2021
Merged

Added support for custom kernel names. #401

merged 5 commits into from
Feb 14, 2021

Conversation

m4rs-mt
Copy link
Owner

@m4rs-mt m4rs-mt commented Jan 27, 2021

This PR fixes #398 by using either the .Net function name or a custom name as the entry point for each Cuda/OpenCL kernel. This simplifies profiling and debugging because multiple kernels then have different names.

CAUTION: Custom kernel names have to consist of ASCII characters only. Other characters will be automatically mapped to '_' in the assembly code.

@m4rs-mt m4rs-mt added this to the v0.11 milestone Jan 29, 2021
@m4rs-mt m4rs-mt merged commit 0bb4c5b into master Feb 14, 2021
@m4rs-mt m4rs-mt deleted the kernel_name branch February 14, 2021 23:33
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Feature request: improve kernel name
2 participants