updated thread support
This commit is contained in:
parent
71f4c96331
commit
d3f155733f
1 changed files with 2 additions and 1 deletions
|
@ -23,7 +23,8 @@ struct ggml_openshmem_context {
|
||||||
};
|
};
|
||||||
|
|
||||||
void ggml_openshmem_backend_init(void) {
|
void ggml_openshmem_backend_init(void) {
|
||||||
shmem_init();
|
int provided = 0;
|
||||||
|
shmem_init_thread(SHMEM_THREAD_MULTIPLE, &provided);
|
||||||
}
|
}
|
||||||
|
|
||||||
void ggml_openshmem_backend_free(void) {
|
void ggml_openshmem_backend_free(void) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue