Hello,

Yes, this was an expected change 
- https://github.com/ispc/ispc/commit/761de37d076c64dbf8f74226a3b1f88fcb8fdc1e

Functionally there is not change but a warning got added. You should still 
be able to compile and run your code, but it'll print the warning . 
'Warning: Exported function parameter "ptr" points to varying type' merely 
lets the user know they are dealing with a varying type.

-Deepak

On Monday, November 9, 2020 at 2:33:16 PM UTC-8 [email protected] wrote:

>
> An exported function (at least up to 1.12) happily accepted parameters of 
> the form:
>
> varying TYPE * uniform ptr
>
> I am trying out 1.14.1 and get the following error:
>
> test.ispc:2:19: Warning: Exported 
>         function parameter "ptr" points 
>         to varying type 
> run(varying float * uniform ptr)
>
> From this code:
>
> export void
> run(varying float * uniform ptr)
> {
> }
>
> The code compiles as expected at least up to 1.12.
>
> Is this an expected change?  I didn't see anything about it in the release 
> notes.
>
> Cheers,
> -Brian
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Intel SPMD Program Compiler Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ispc-users/6c78286e-338f-49db-8f16-f4f7d230c00dn%40googlegroups.com.

Reply via email to