Repository navigation
Expand file tree
/
Copy pathconfig.json
More file actions
81 lines (81 loc) · 2.25 KB
/
Copy pathconfig.json
File metadata and controls
81 lines (81 loc) · 2.25 KB
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
81
{
"namespace": "tensor",
"name": "tensor",
"extension-name": "tensor",
"description": "Scientific computing for the PHP language.",
"author": "The Rubix ML Community",
"version": "4.1.0",
"verbose": true,
"extra-cflags": "-O3 -fno-math-errno",
"extra-libs": "-lopenblas -llapacke -lgfortran",
"extra-sources": [
"include/arithmetic.c",
"include/buffer.c",
"include/comparison.c",
"include/cpu.c",
"include/factories.c",
"include/reductions.c",
"include/shape.c",
"include/special.c",
"include/unary.c",
"include/linear_algebra.c",
"include/signal_processing.c",
"include/settings.c"
],
"initializers": {
"module": [
{
"include": "include/cpu.h",
"code": "tensor_cpu_init()"
},
{
"include": "cblas.h",
"code": "openblas_set_num_threads(1)"
},
{
"code": "extern zend_class_entry *tensor_buffer_ce; extern zend_class_entry *zephir_buffer_ce; tensor_buffer_ce = zephir_buffer_ce;"
}
],
"request": [
{
"include": "include/buffer.h",
"code": "tensor_pool_activate()"
}
]
},
"optimizer-dirs": [
"optimizers"
],
"optimizations": {
"static-type-inference": true,
"static-type-inference-second-pass": true,
"local-context-pass": true,
"constant-folding": true,
"static-constant-class-folding": true,
"call-gatherer-pass": true,
"check-invalid-reads": false
},
"warnings": {
"unused-variable": true,
"unused-variable-external": false,
"possible-wrong-parameter": true,
"possible-wrong-parameter-undefined": false,
"nonexistent-function": true,
"nonexistent-class": true
},
"extra": {
"export-classes": false,
"indent": "spaces"
},
"kernel-classes": {
"buffer": true
},
"destructors": {
"request": [
{
"include": "include/buffer.h",
"code": "tensor_pool_seal()"
}
]
}
}