File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -342,8 +342,7 @@ RNLERRORTYPE RaisrOpenCLInit(RaisrOpenCLContext *raisrOpenCLContext)
342342
343343 int rows = raisrOpenCLContext->gPatchSize * raisrOpenCLContext->gPatchSize ;
344344 int alignedRows = 16 * (int )((rows + 15 ) / 16 );
345- uint64_t Aoffset = (uint64_t )filterBuffer & 0x3f ;
346- float *AFilters = &filterBuffer[16 - (int )(Aoffset / sizeof (float ))];
345+ float *AFilters = &filterBuffer[0 ];
347346 int hashkeySize = raisrOpenCLContext->gQuantizationAngle *
348347 raisrOpenCLContext->gQuantizationStrength *
349348 raisrOpenCLContext->gQuantizationCoherence ;
@@ -904,4 +903,4 @@ void RaisrOpenCLRelease(RaisrOpenCLContext *raisrOpenCLContext)
904903 clReleaseDevice (raisrOpenCLContext ->deviceID );
905904 free (raisrOpenCLContext ->priv );
906905 raisrOpenCLContext ->priv = NULL ;
907- }
906+ }
You can’t perform that action at this time.
0 commit comments