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

This reverts commit 927b06f8d4.
이 커밋은 다음에 포함됨:
Siu Chi Chan가 2018-11-29 11:38:34 -05:00를 커밋했습니다
1 부모 c5df445d1f
커밋 30a9be5643
1 파일이 변경됨
-2
-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));