]> git.uio.no Git - u/mrichter/AliRoot.git/blame - HLT/TPCLib/tracking-ca/AliHLTTPCCAGPUTrackerNVCC.cu.patch
bug fix: reconstruction crash when the output buffer size exceed
[u/mrichter/AliRoot.git] / HLT / TPCLib / tracking-ca / AliHLTTPCCAGPUTrackerNVCC.cu.patch
CommitLineData
eb08490f 1--- AliHLTTPCCAGPUTracker.cucpp 2009-05-28 12:14:09.000000000 +0200
2+++ release/x86_64-pc-linux-gnu/code/AliHLTTPCCAGPUTracker.cucpp 2009-05-28 12:10:25.000000000 +0200
3@@ -23186,7 +23186,7 @@
4 static T2 *Alloc(int s) { auto T2 *p = (reinterpret_cast< T2 *>(_mm_malloc(s * sizeof(CacheLineSizeHelper< T> ), 128))); return new (p) T2 [s]; }
5 static void Free(T2 *const p, int size) {
6 for (int i = 0; i < size; ++i) {
7-((p[i]).~CacheLineSizeHelper());
8+((p[i]).~T2());
9 }
10 _mm_free(p);
11 }