updated thread support

This commit is contained in:
ct-clmsn 2023-12-23 20:49:12 -05:00
parent 71f4c96331
commit d3f155733f

View file

@ -23,7 +23,8 @@ struct ggml_openshmem_context {
};
void ggml_openshmem_backend_init(void) {
shmem_init();
int provided = 0;
shmem_init_thread(SHMEM_THREAD_MULTIPLE, &provided);
}
void ggml_openshmem_backend_free(void) {