Added overflow check in kernel launch (#1770)

[ROCm/hip commit: 13316f724f]
Bu işleme şunda yer alıyor:
Sarbojit2019
2020-02-04 09:02:16 +05:30
işlemeyi yapan: GitHub
ebeveyn 7ee73c0b5b
işleme 91d9cfd64d
2 değiştirilmiş dosya ile 41 ekleme ve 22 silme
+3
Dosyayı Görüntüle
@@ -237,3 +237,6 @@ To disable it and use the legancy grid launch method, please either change the d
$HIP/include/hip/hcc_detail/hip_runtime_api.h
$HIP/include/hip/hcc_detail/host_defines.h
Or pass "-DGENERIC_GRID_LAUNCH=0" to hipcc at application compilation time.
### What is maximum limit of Generic Grid Launch parameters (grid and block)?
Product of (grid.x and block.x), (grid.y and block.y) or (grid.z and block.z) should always be less than UINT_MAX.