From e5906e1f957be3452a0de43ddeaadff5b4beabca Mon Sep 17 00:00:00 2001 From: Tianqi Chen Date: Mon, 20 Feb 2023 11:26:35 -0500 Subject: [PATCH] [BugFix][UMA] Protect target registration (#13624) (#3) This PR address fixes for UMA target registration. * Fix the doc issue #13304 * Continues stalled PR #12731 Changes: * Incorporates all proposed fixes from mentioned [PR #12731](https://github.com/apache/tvm/pull/12731) * Address test case concerns and discussions from [PR #12731](https://github.com/apache/tvm/pull/12731) * **NEW:** Already exiting target cannot be created, explicit error on this. * **NEW:** Attributes having special/reserved scope cannot be created explicitly. It also address proper test cases for all the above. Signed-off-by: tqchen Co-authored-by: Balint Cristian