ifTrueandself.subsample==(1,1)andself.border_mode=='full'andself.versionin[3,4,5,-1]andout_dim_3<=512and((self.logical_kern_hw[0]+2*self.logical_kern_hw[0]-2)*img_wid_padded*4+self.logical_kern_hw[0]*self.logical_kern_hw[1]*4<(16*1024-128))andout_.dtype=='float32'andkern_.dtype=='float32'andimg_.dtype=='float32':#-128 as this is the number of shared memory used statically
ifFalseandself.subsample==(1,1)andself.border_mode=='full'andself.versionin[3,4,5,-1]andout_dim_3<=512and((self.logical_kern_hw[0]+2*self.logical_kern_hw[0]-2)*img_wid_padded*4+self.logical_kern_hw[0]*self.logical_kern_hw[1]*4<(16*1024-128))andout_.dtype=='float32'andkern_.dtype=='float32'andimg_.dtype=='float32':#-128 as this is the number of shared memory used statically