MegEngine / MegPeak

Apache License 2.0
247 stars 38 forks source link

Fix loading of OpenCL library on MacOS #22

Closed zchrissirhcz closed 2 years ago

zchrissirhcz commented 2 years ago

There opencl-stub loader's previous implementation, checks if the default_so_path exist.

However, for MacOS, the frameworks path does not exist, but dlopen will correctly find the expected stuffs.

chenqy4933 commented 2 years ago

LGTM