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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
use Any;
use Debug;
use Result;
/// Provides the generic functionality for a backend-specific implementation of a library.
///
/// A package can be a binary, a source file, c code, a single kernel, etc., or a collective which
/// share related functionalities. A package is provided by a specific library such as BLAS. Notice
/// that packages are analogous to those of Rust (i.e., crates):
///
/// compiled crate <-> package
/// library (one or more modules) <-> bundle
///
/// A package needs to be _built_, which is handled by the specific implementation of a binary
/// representation, and returns initialized operations based on the library. Interacting directly
/// with the package itself is possible, but it should be used to construct the backend-agnostic
/// operations, which can then be executed and parallelized via a unified interface.
/// Builds a package and provides the functionality for turning a library into backend-specific,
/// executable operations, and tailored for the target framework.
// =========================
/// A marker type for _unextended_ backends/contexts.
;