(1): In a CUDA application I'm translating there are two kernels, called directly one after the other. The output from the first kernel is the input to the second kernel.
Is it possible to do the same in CAL? i.e. without copying the output from the first kernel to the host and then back to the card again as the input to the second?
(2): I'm trying to create this resource:
r = calResAllocRemote1D(&textRes, &device, 1, 131072, CAL_FORMAT_INT_1, 0);
calAssert(r, "There has been an error allocating resource textRes.");
First thing to notice is that its greater than 8192 wide, but I thought this was possible in some way? Currently I'm getting an error allocating the resource.