Skip to content

Provide easily distinguishable kernel names #260

@adarshyoga

Description

@adarshyoga

The names set by Numba-dppy for kernels generated from parfors are extremely long and make it impossible to determine what parfor they represent in the source code. Having easily distinguishable kernel names is extremely useful performance analysis of programs that have multiple kernels.

For easily distinguishable kernel names, I suggest the following protocol.
<file_name:function_name:line_number>
This combination is going to be unique for each kernel. If a parfor is called from outside a function, then it can be omitted and the combination of file_name and line_number (<file_name:line_number>) will still be unique.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions