Skip to content

Planning arbitrary Python functions #41

Description

@robertmaxton42

It'd be nice if we could add a scheduled call to a function, to be executed only at runtime, to a plan. The particular use case I have in mind is using NVTX events and ranges, but now that it occurs to me it seems like something that might be generally useful.

(By the way, while kernel_call says that it defaults to fast_math=False, for some reason whenever I have a C++ error the nvcc command has the -use-fast-math flag set...)

-- Actually, related to that last, it'd be cool if we could require at planning time that our kernel be compiled with particular options. In particular, -std=c++11. I strongly suspect it would cut down on usage errors in that case in particular.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions