patched examples to work with uniform for nvptx. function calls with non-generic pointers fail. need fix

This commit is contained in:
Evghenii
2014-01-08 14:25:21 +01:00
parent f98a8cc22f
commit d3dc5e0df1
5 changed files with 28 additions and 12 deletions

View File

@@ -366,7 +366,7 @@ volume_task(float density[], int _nVoxels[3],
int width, int height, float image[]) {
if (taskIndex0 >= taskCount0) return;
#if 1
#if 0
int nVoxels[3];
nVoxels[0] = _nVoxels[0];
nVoxels[1] = _nVoxels[1];