Amplifier.NET icon indicating copy to clipboard operation
Amplifier.NET copied to clipboard

OpenCL kernel compile fails if Nullable contexts are enabled for containing project

Open AngreiG opened this issue 3 years ago • 0 comments

If nulable contexts are enabled for containing project then OpenCL compilation fails because of [System.Runtime.CompilerServices.NullableContext(1)] leading kernel code.

Setting <Nullable>warnings</Nullable> or <Nullable>disable</Nullable> in property group of project file solves the issue.

AngreiG avatar Jan 30 '23 18:01 AngreiG