Closed pvelesko closed 4 months ago
Once main thread exists main(), all HIP calls should have already been completed. It is up to the user to make sure that happens. When does doesn't happen, we should handle such case gracefully.
main()
Every HIP API call starts with CHIPInitialize. Check if backend has already been destroyed and if so, return error. Fixes https://github.com/CHIP-SPV/chipStar/issues/887
CHIPInitialize
Once main thread exists
main()
, all HIP calls should have already been completed. It is up to the user to make sure that happens. When does doesn't happen, we should handle such case gracefully.Every HIP API call starts with
CHIPInitialize
. Check if backend has already been destroyed and if so, return error. Fixes https://github.com/CHIP-SPV/chipStar/issues/887