cancel
Showing results for 
Search instead for 
Did you mean: 

Archives Discussions

riza_guntur
Journeyman III

How to disable automatic stream resizing on Brook+?

As long as I can remember, there is an option to disable automatic stream resizing. For example if I copy stream of size {4,2} to {100,2} then it will made multiple copy one position.

But what is that option, I completely forgot.

0 Likes
5 Replies
gaurav_garg
Adept I

set environment variable BRT_DISABLE_STREAM_RESIZE=1

I would suggest to use gather streams (gather streams are not resized) to avoid any confusion.

0 Likes

Thank you.

If I'm not wrong, you once told this could save some time.

I've tried it, nothing differ.

Anyway, where is it in User Guide?


I'm very surprised, turning off address translation boost performance a lot.

I thought I will get boost too from BRT_DISABLE_STREAM_RESIZE.

Using gather for small set, together with address translation, I get huge boost start from small dimension.

0 Likes

Anyway, where is it in User Guide?


Brook+ release notes: section 3.2

Turning off address translation should not matter. As Brook+ uses address tranlated code only if you have 1D streams > 8192 or 3D streams (called AT stream). In case you have disabled AT and you are using AT streams, kernel call fails.

0 Likes

I'm 100% sure I'm not using AT, I only use 2D Stream with xdims 8192 and that's the biggest number I use.

No other number use value bigger than that.

Maybe after fixing a kernel and do "reducing if whenever possible" then speed up happens.

I never imagine it would be so much different.

0 Likes

Ups I'm comparing to different sizes.

0 Likes