Revert "Handle (odd) corner case of argumentless __global__ function."

This reverts commit 591d4d1b5f.


[ROCm/hip commit: aeca2c8cdc]
Этот коммит содержится в:
Siu Chi Chan
2018-11-29 11:38:34 -05:00
родитель a715dea79c
Коммит f04655ff6e
-2
Просмотреть файл
@@ -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));