fix issues with anonymously named functions that would crash the cuda compiler pipeline