SWDEV-298331 - Fix FreeLibrary throw exception issue on Windows

dummy function for OCL, release resource for HIP

Change-Id: Idda5047ab7393747d13a9231e0cca5953fc68a6a
Bu işleme şunda yer alıyor:
haoyuan2 committed 2022-02-25 20:02:41 -08:00
1 ebeveyn 7ac4483be7
işleme 5d65c0da88
1 file changed
+8 -1
+8 -1
Dosyayı Görüntüle
@@ -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
/*! @}
* @}
*/