Page MenuHomePhabricator

[SYCL] Fix function pointer address space
Needs ReviewPublic

Authored by eandrews on Mon, Oct 11, 10:57 AM.



Functions pointers should be created with program address space. This patch fixes a crash on lvalue reference to function pointer (in device code) when using oneAPI DPC++ compiler.

Diff Detail

Event Timeline

eandrews created this revision.Mon, Oct 11, 10:57 AM
eandrews requested review of this revision.Mon, Oct 11, 10:57 AM

need a test

eandrews updated this revision to Diff 379562.EditedWed, Oct 13, 5:25 PM

Thanks for taking a look @yaxunl! I added a test.