Merge branch 'origin/pghafari/opencl' into lmoriche/amd-master-next
Tá an tiomantas seo le fáil i:
1 tuismitheoir
4c552a6423
tiomantas
d4c39b88c5
167 comhad athraithe
+8931
-1046
Níor tháinig aon chomhaid le do chuardach
@@ -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
|
||||
|
||||
|
||||
/*! @}
|
||||
* @}
|
||||
*/
|
||||
Tagairt in Eagrán Nua
Cuir bac ar úsáideoir