compute-runtime/unit_tests/mock_gmm/mock_gmm.cpp

25 lines
445 B
C++

/*
* Copyright (C) 2018-2019 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#include "GmmLib.h"
#ifdef __cplusplus
extern "C" {
#endif
GMM_STATUS GMM_STDCALL initMockGmm(GMM_INIT_IN_ARGS *pInArgs, GMM_INIT_OUT_ARGS *pOutArgs) {
pOutArgs->pGmmClientContext = reinterpret_cast<GMM_CLIENT_CONTEXT *>(0x01);
return GMM_SUCCESS;
}
void GMM_STDCALL destroyMockGmm(GMM_INIT_OUT_ARGS *pInArgs) {
}
#ifdef __cplusplus
}
#endif