29 lines
435 B
C++
29 lines
435 B
C++
|
|
//
|
||
|
|
// Copyright (c) 2010 Advanced Micro Devices, Inc. All rights reserved.
|
||
|
|
//
|
||
|
|
#include "cl_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
|
||
|
|
|
||
|
|
|
||
|
|
/*! @}
|
||
|
|
* @}
|
||
|
|
*/
|