cancel
Showing results for 
Search instead for 
Did you mean: 

OpenCL

Highlighted
Journeyman III
Journeyman III

Using BRT_PERMIT_READ_WRITE_ALIASING to avoid unnecessary kernel calls or creating temporary stream

I mean we can avoid the usage of unnecessary temporary buffer stream if so, and avoid another kernel call. I mean we can avoid the usage of unnecessary temporary buffer stream if so, and avoid another kernel call.

But

Does the performance better?

If yes, how to turn it on?

Create environment variable  BRT_PERMIT_READ_WRITE_ALIASING and then filled it with what? 0 or 1 ?

Tags (1)
0 Kudos
Reply
2 Replies
Highlighted
Adept I
Adept I

Using BRT_PERMIT_READ_WRITE_ALIASING to avoid unnecessary kernel calls or creating temporary stream

You can set it to any value.

0 Kudos
Reply
Highlighted
Journeyman III
Journeyman III

Using BRT_PERMIT_READ_WRITE_ALIASING to avoid unnecessary kernel calls or creating temporary stream

Oh, I didnt' know that I have it set to 1, since that made sense.

0 Kudos
Reply