Merge branch 'origin/pghafari/opencl' into lmoriche/amd-master-next

Dieser Commit ist enthalten in:
Laurent Morichetti committed 2020-02-03 13:26:46 -08:00
1 Ursprung 4c552a6423
Commit d4c39b88c5
167 Dateien geändert
+8931 -1046

Keine Dateien entsprechen Ihrer Suche

+28
Datei anzeigen
@@ -0,0 +1,28 @@
//
// Copyright (c) 2010 Advanced Micro Devices, Inc. All rights reserved.
//
#include "cl_common.hpp"
#include "vdi_common.hpp"
#include "cl_platform_amd.h"
#include <cstring>
/*! \addtogroup API
* @{
*
* \addtogroup AMD_Extensions
* @{
*
*/
RUNTIME_ENTRY(cl_int, clUnloadPlatformAMD, (cl_platform_id platform)) {
if (AMD_PLATFORM == platform) {
amd::Runtime::tearDown();
}
return CL_SUCCESS;
}
RUNTIME_EXIT
/*! @}
* @}
*/