Skip to content

Commit 7973a89

Browse files
committed
Update onemkl_epilogue.cpp and onemkl_epilogue.h
1 parent c42347b commit 7973a89

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

deps/onemkl_epilogue.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,9 @@ extern "C" int onemklXsparse_matmat(syclQueue_t device_queue, matrix_handle_t A,
88

99
// oneMKL keeps a cache of SYCL queues and tries to destroy them when unloading the library.
1010
// that is incompatible with oneAPI.jl destroying queues before that, so call mkl_free_buffers
11-
// and mkl_sycl_destructor to manually cleanup oneMKL cache when we're destroying queues.
11+
// to manually wipe the device cache when we're destroying queues.
1212

1313
extern "C" int onemklDestroy() {
1414
mkl_free_buffers();
15-
mkl_sycl_destructor();
1615
return 0;
1716
}

deps/onemkl_epilogue.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ int onemklXsparse_matmat(syclQueue_t device_queue, matrix_handle_t A, matrix_han
22
matrix_handle_t C, onemklMatmatRequest req, matmat_descr_t
33
descr, int64_t *sizeTempBuffer, void *tempBuffer);
44

5-
void mkl_sycl_destructor(void);
65
int onemklDestroy(void);
76
#ifdef __cplusplus
87
}

0 commit comments

Comments
 (0)