[PATCH] D86376: [HIP] Simplify kernel launching

2021-02-08 Thread Yaxun Liu via Phabricator via cfe-commits
yaxunl added a comment. In D86376#2239618 , @tra wrote: > In D86376#2239391 , @yaxunl wrote: > >> For example, in HIP program, there is a kernel `void foo(int*)`. If a C++ >> program wants to launch it, the desirab

[PATCH] D86376: [HIP] Simplify kernel launching

2020-08-26 Thread Artem Belevich via Phabricator via cfe-commits
tra added a comment. In D86376#2239391 , @yaxunl wrote: > For example, in HIP program, there is a kernel `void foo(int*)`. If a C++ > program wants to launch it, the desirable way is > > void foo(int*); > hipLaunchKernel(foo, grids, blocks, args, shme