cause your resources are very likely much larger than you can fit in host-mapped memory
cause your resources are very likely much larger than you can fit in host-mapped memory
ref bytelocalBlockSize instead of ulong.MaxValue as the last parameter on line 96 an ideal scenario can be created, where there is no wasted memory. This seems to have little to no influence on speed)