Skip to content

Conversation

@9prady9
Copy link
Member

@9prady9 9prady9 commented Mar 23, 2020

__local arrays can't be declared at non-kernel function scope in
OpenCL. Oddly, nvidia OpenCL implementation seems to work fine
although Clover OpenCL implementation throws an error.

This is a bug w.r.t implementation nevertheless. Hence, the fix.

Fixes #2803

__local arrays can't be declared at non-kernel function scope in
OpenCL. Oddly, nvidia OpenCL implementation seems to work fine
although Clover OpenCL implementation throws an error.

This is a bug w.r.t implementation nevertheless. Hence, the fix.
@9prady9 9prady9 added this to the v3.7.1 milestone Mar 23, 2020
@9prady9 9prady9 requested a review from syurkevi March 23, 2020 12:23
@9prady9 9prady9 merged commit 1031fa9 into arrayfire:master Mar 24, 2020
@9prady9 9prady9 deleted the fix_rbk_ocl branch March 24, 2020 04:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

OpenCL: Non-kernel function variable cannot be declared in local address space

2 participants