blob: 67d4e413987d4d2ef4e5f6516d87d79fb61d888e (
plain)
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
/*
* Copyright 2018 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can
* be found in the LICENSE file.
*
*/
#pragma once
//
//
//
#include <CL/opencl.h>
//
//
//
#include "suballocator.h"
//
//
//
struct skc_allocator_device
{
#if 0
struct {
} perm;
#endif
struct {
struct skc_suballocator suballocator;
cl_mem extent;
} temp;
};
//
//
//
void
skc_allocator_device_create(struct skc_runtime * const runtime);
void
skc_allocator_device_dispose(struct skc_runtime * const runtime);
//
//
//
|