File: zer_entry_points.h

package info (click to toggle)
level-zero 1.27.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 14,020 kB
  • sloc: cpp: 132,430; ansic: 16,654; python: 10,040; makefile: 4
file content (30 lines) | stat: -rw-r--r-- 1,338 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
/*
 * ***THIS FILE IS GENERATED. ***
 * See entry_points.h.mako for modifications
 *
 * Copyright (C) 2019-2025 Intel Corporation
 *
 * SPDX-License-Identifier: MIT
 *
 * @file zer_entry_points.h
 *
 */
#pragma once
#include "zer_api.h"

namespace validation_layer
{

class ZERValidationEntryPoints {
public:
    virtual ze_result_t zerGetLastErrorDescriptionPrologue( const char** ppString ) {return ZE_RESULT_SUCCESS;}
    virtual ze_result_t zerGetLastErrorDescriptionEpilogue( const char** ppString , ze_result_t result) {return ZE_RESULT_SUCCESS;}
    virtual ze_result_t zerTranslateDeviceHandleToIdentifierPrologue( ze_device_handle_t hDevice ) {return ZE_RESULT_SUCCESS;}
    virtual ze_result_t zerTranslateDeviceHandleToIdentifierEpilogue( ze_device_handle_t hDevice , uint32_t result) {return ZE_RESULT_SUCCESS;}
    virtual ze_result_t zerTranslateIdentifierToDeviceHandlePrologue( uint32_t identifier ) {return ZE_RESULT_SUCCESS;}
    virtual ze_result_t zerTranslateIdentifierToDeviceHandleEpilogue( uint32_t identifier , ze_device_handle_t result) {return ZE_RESULT_SUCCESS;}
    virtual ze_result_t zerGetDefaultContextPrologue( void ) {return ZE_RESULT_SUCCESS;}
    virtual ze_result_t zerGetDefaultContextEpilogue( ze_context_handle_t result ) {return ZE_RESULT_SUCCESS;}
    virtual ~ZERValidationEntryPoints() {}
};
}