2018-05-17 17:47:35 +08:00
|
|
|
/*
|
2019-05-08 22:00:24 +08:00
|
|
|
* Copyright (C) 2018-2019 Intel Corporation
|
2018-05-17 17:47:35 +08:00
|
|
|
*
|
2018-09-18 15:11:08 +08:00
|
|
|
* SPDX-License-Identifier: MIT
|
2018-05-17 17:47:35 +08:00
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
2018-07-06 15:07:42 +08:00
|
|
|
#include "GmmLib.h"
|
2018-05-17 17:47:35 +08:00
|
|
|
|
2018-07-06 15:07:42 +08:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
2019-10-15 21:05:47 +08:00
|
|
|
|
|
|
|
GMM_STATUS GMM_STDCALL initMockGmm(GMM_INIT_IN_ARGS *pInArgs, GMM_INIT_OUT_ARGS *pOutArgs) {
|
|
|
|
pOutArgs->pGmmClientContext = reinterpret_cast<GMM_CLIENT_CONTEXT *>(0x01);
|
2018-05-17 17:47:35 +08:00
|
|
|
return GMM_SUCCESS;
|
2018-06-21 22:14:12 +08:00
|
|
|
}
|
2019-10-15 21:05:47 +08:00
|
|
|
|
|
|
|
void GMM_STDCALL destroyMockGmm(GMM_INIT_OUT_ARGS *pInArgs) {
|
|
|
|
}
|
|
|
|
|
2018-07-06 15:07:42 +08:00
|
|
|
#ifdef __cplusplus
|
2018-06-21 22:14:12 +08:00
|
|
|
}
|
2018-07-06 15:07:42 +08:00
|
|
|
#endif
|