Ignore:
Timestamp:
Nov 20, 2010, 10:58:17 AM (11 years ago)
Author:
Sven Rech
Message:

another opencl fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/CrypPlugins/KeySearcher/KeySearcher.cs

    r2110 r2112  
    460460                int subbatchSize = keyTranslator.GetOpenCLBatchSize() / subbatches;
    461461                float[] costArray = new float[subbatchSize];
    462                 Mem costs = oclManager.Context.CreateBuffer(MemFlags.READ_ONLY, costArray.Length * 4);
     462                Mem costs = oclManager.Context.CreateBuffer(MemFlags.READ_WRITE, costArray.Length * 4);
    463463                bruteforceKernel.SetArg(1, costs);
    464464
Note: See TracChangeset for help on using the changeset viewer.