Skip to content

vcl.internal.dl #

Constants #

const default_paths = [
'libOpenCL${dl.dl_ext}',
'/usr/lib/libOpenCL${dl.dl_ext}',
'/usr/local/lib/libOpenCL${dl.dl_ext}',
'/usr/local/lib/libpocl${dl.dl_ext}',
'/usr/lib64/libOpenCL${dl.dl_ext}',
'/usr/lib32/libOpenCL${dl.dl_ext}',
]
const dl_register_issue_code = loader.dl_register_issue_code
const dl_close_issue_code = loader.dl_close_issue_code
const dl_sym_issue_code = loader.dl_sym_issue_code
const dl_open_issue_code = loader.dl_open_issue_code
const dl_no_path_issue_code = loader.dl_no_path_issue_code

fn get_sym #

fn get_sym(name string) !voidptr