compatibility with PoCL