Skip to content

Conversation

@steffenlarsen
Copy link
Contributor

The current implementation of the enqueue free functions taking both a launch_config and a kernel do not properly process the properties. This commit addresses this and adds a static assert about the properties passed to these only applying to the launch of the kernel and not how the compiler handles compiling the kernel.

The current implementation of the enqueue free functions taking both a
launch_config and a kernel do not properly process the properties. This
commit addresses this and adds a static assert about the properties
passed to these only applying to the launch of the kernel and not how
the compiler handles compiling the kernel.

Signed-off-by: Larsen, Steffen <[email protected]>
static constexpr std::nullptr_t value = nullptr;
};

template <typename> struct HasCompileTimeEffect : std::false_type {};
Copy link
Contributor

Choose a reason for hiding this comment

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

I think it's a bad decision to extend generic properties interface (even the internal one) with some trait specific to just a few properties/APIs accepting them.

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.

4 participants