Summary: The old `amdgpu_kernel` and `nvptx_kernel` attributes are better replaced by the new, generic `device_kernel`.