SWDEV-298331 - Fix FreeLibrary throw exception issue on Windows

dummy function for OCL, release resource for HIP

Change-Id: Idda5047ab7393747d13a9231e0cca5953fc68a6a


[ROCm/clr commit: 5d65c0da88]
Этот коммит содержится в:
haoyuan2
2022-02-25 19:59:52 -08:00
родитель a0a9f3806b
Коммит 73f1a43d97
+8 -1
Просмотреть файл
@@ -1,4 +1,4 @@
/* Copyright (c) 2008 - 2021 Advanced Micro Devices, Inc.
/* Copyright (c) 2008 - 2022 Advanced Micro Devices, Inc.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
@@ -491,6 +491,13 @@ RUNTIME_ENTRY(cl_int, clReleaseDevice, (cl_device_id device)) {
}
RUNTIME_EXIT
// dummy function for OCL, release resource for HIP
namespace amd {
void shutDown() {}
} // namespace amd
/*! @}
* @}
*/