Created
July 11, 2017 15:09
-
-
Save marty1885/de3c30ccd5ce612f5d0e80b5501f4ec1 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
uint wei_stg_off = wei_stg_base_off + | |
o_c * MLO_N_IN_TILES_PERSTACK * MLO_FILTER_SZ + | |
k_act * MLO_FILTER_SIZE0; | |
if(wei_stg_off + MLO_FILTER_SIZE0 > MLO_WEIGHTS_SZ) | |
printf("%d\n",wei_stg_off); | |
for(uint i = 0; i < MLO_FILTER_SIZE0; ++i) | |
{ | |
//Comment offset out so it don't crash on NV/Intel OpenCL | |
//This might not be needed for a AMD system | |
pvt_wei_stage[i] = lcl_wei[/*wei_stg_off + */i]; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment