Revert "Handle (odd) corner case of argumentless __global__ function."
This reverts commit 927b06f8d4.
이 커밋은 다음에 포함됨:
1 부모
c5df445d1f
커밋
30a9be5643
1 파일이 변경됨
-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));
|
||||
|
||||
|
||||
새 이슈에서 참조
사용자 차단