SWDEV-298331 - Fix FreeLibrary throw exception issue on Windows

dummy function for OCL, release resource for HIP

Change-Id: Idda5047ab7393747d13a9231e0cca5953fc68a6a
这个提交包含在:
haoyuan2 于 2022-02-25 20:02:41 -08:00 提交
1 父节点 7ac4483be7
当前提交 5d65c0da88
1 个文件已更改
+8 -1
+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
/*! @}
* @}
*/