Revert "Handle (odd) corner case of argumentless __global__ function."
This reverts commitf843c8dd48. [ROCm/clr commit:30a9be5643]
This commit is contained in:
@@ -102,8 +102,6 @@ inline std::vector<std::uint8_t> make_kernarg(
|
||||
static_assert(sizeof...(Formals) == sizeof...(Actuals),
|
||||
"The count of formal arguments must match the count of actuals.");
|
||||
|
||||
if (sizeof...(Formals) == 0) return {};
|
||||
|
||||
const auto it = function_names().find(
|
||||
reinterpret_cast<std::uintptr_t>(kernel));
|
||||
|
||||
|
||||
Referens i nytt ärende
Block a user