FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
unified-memory-framework/src/proxy_lib/proxy_lib_linux.c at main · oneapi-src/unified-memory-framework · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
oneapi-src
/
unified-memory-framework
Public
Notifications
You must be signed in to change notification settings
Fork
48
Star
96
Code
Issues
54
Pull requests
7
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
unified-memory-framework
/
src
/
proxy_lib
/
proxy_lib_linux.c
Copy path
More file actions
More file actions
Latest commit
History
History
History
23 lines (20 loc) · 754 Bytes
Breadcrumbs
unified-memory-framework
/
src
/
proxy_lib
/
proxy_lib_linux.c
Copy path
File metadata and controls
23 lines (20 loc) · 754 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/*
*
* Copyright (C) 2024 Intel Corporation
*
* Under the Apache License v2.0 with LLVM Exceptions. See LICENSE.TXT.
* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
*
*/
#include
"proxy_lib.h"
// The priority 102 is used, because the constructor should be called as the second one
// (just after the first constructor of the base allocator with priority 101)
// and the destructor as the last but one (just before the last destructor
// of the base allocator with priority 101), because this library
// provides the memory allocation API.
void
__attribute__((
constructor
(
102
)))
proxy_lib_create
(
void
) {
proxy_lib_create_common
();
}
void
__attribute__((
destructor
(
102
)))
proxy_lib_destroy
(
void
) {
proxy_lib_destroy_common
();
}
Back
|
FazBrowse Home
|
New Git URL