anchor.diff:  
       /// generates a sequence of CUDA calls from streams
       let generateCalls (streams: StreamCmdsT<CudaExecItemT> list) cache =    
  +        let calls = ResizeArray<CudaCallT> ()
  +
           /// the number of times WaitOnEvent is called for a particular correlation
           let correlationIdWaiters =
               seq {
  
positive.code:                     lastCallOnStream.[strmId] <-
                          if strmId = strmIdToProcess then 0
                          else lastCallOnStream.[strmId] + 1
                  //let streamCallHistory = strmIdToProcess :: streamCallHistory
  
                  // generate CUDA call template
                  let cmdCalls = callsForExecItem cmd cache strmIdToProcess
  
negative.code:             printfn "Used CUDA memory:       %.3f MiB" (float memUsage / 2.**20.)
              printfn "Used CUDA streams:      %d" streams.Length
              printfn "Used CUDA events:       %d" eventObjCnt
              printfn "Total CUDA exec calls:  %d" execCalls.Length
  
          {
              KernelCode     = kernelModuleHeader + TmplInstCache.getCodeForDomain KernelFunc tmplInstCache
  