add GPU checking before compilation for rocm (#4394)
Previously, we would rely on the later phases to error out (often for using too much shared memory). This enables the checks on the IR that already exist for CUDA and OpenCL also for ROCm.
Showing
Please
register
or
sign in
to comment