-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Description
Would be good to add a test to "self opening" check.
e .g.
test this:
THAPI/backends/opencl/tracer_opencl_helpers.include.c
Lines 1188 to 1192 in ba57ae3
| if (handle) { | |
| void* ptr = dlsym(handle, "clGetPlatformIDs"); | |
| if (ptr == (void*)&clGetPlatformIDs) { //opening oneself | |
| dlclose(handle); | |
| handle = NULL; |
Metadata
Metadata
Assignees
Labels
No labels