cuMemAlloc(gpu_clt_h[ncam],tilesY*tilesX*num_colors*4*GPUTileProcessor.DTT_SIZE*GPUTileProcessor.DTT_SIZE*Sizeof.FLOAT);// public static int cuMemAlloc(CUdeviceptr dptr, long bytesize)
*/
/// gpu_clt_h[ncam] = new CUdeviceptr();
/// cuMemAlloc(gpu_clt_h[ncam],tilesY * tilesX * num_colors * 4 * GPUTileProcessor.DTT_SIZE * GPUTileProcessor.DTT_SIZE * Sizeof.FLOAT ); // public static int cuMemAlloc(CUdeviceptr dptr, long bytesize)
}
// now create device arrays pointers
if(Sizeof.POINTER!=Sizeof.LONG){
...
...
@@ -344,14 +353,14 @@ public class GpuQuad{ // quad camera description
cuMemAlloc(gpu_geometry_correction,GeometryCorrection.arrayLength(GPUTileProcessor.MAX_NUM_CAMS)*Sizeof.FLOAT);// always maximal number of cameras (sparse)
...
...
@@ -465,11 +474,11 @@ public class GpuQuad{ // quad camera description