Commit 5725d19
[xla:cpu] Add new pthreadpool API to XNN thread pool integration
This is to match the recently added API in pthreadpool.h from
google/pthreadpool@bd09d5c
Otherwise, we would get a linker error when building xnn_threadpool_test:
```
ld: error: undefined symbol: pthreadpool_parallelize_4d_tile_2d_dynamic
```
Command to test:
```
bazel build -c opt --define=pthreadpool_header_only=true \
//xla/backends/cpu/runtime/xnnpack:xnn_threadpool_test
```
PiperOrigin-RevId: 7391939291 parent e6b02c2 commit 5725d19
File tree
1 file changed
+8
-1
lines changed- third_party/xla/xla/backends/cpu/runtime/xnnpack
1 file changed
+8
-1
lines changedLines changed: 8 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
| 44 | + | |
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
| |||
525 | 525 | | |
526 | 526 | | |
527 | 527 | | |
| 528 | + | |
| 529 | + | |
| 530 | + | |
| 531 | + | |
| 532 | + | |
| 533 | + | |
| 534 | + | |
528 | 535 | | |
529 | 536 | | |
530 | 537 | | |
| |||
0 commit comments