For me - the answer is PINK... with simple.scn
Pink for caustic.scn
green for cornell.scn
Blue for Cornell_large.scn
Not sure exactly what all that would mean... but - ya
Moderators: Dade, jromang, tomb, coordinators
Eros wrote:For me - the answer is PINK... with simple.scn
Pink for caustic.scn
green for cornell.scn
Blue for Cornell_large.scn
Not sure exactly what all that would mean... but - ya
If you ran it you should the following screen colours:
green: all ok;
blue: camera wrong, scene ok
red: camera ok, scene wrong
pink: both wrong
if you move the camera (i.e. pressing a cursor key) or a sphere (i.e. pressing key '4') the related buffer should become "wrong";
jens-macpro:SmallptGPU-v1.6alpha jensverwiebe$ ./smallptGPU 1 32 preprocessed_rendering_kernel.cl 640 480 scenes/cornell.scn
Starting -----> green
arrow ---->blue
"4" ----> red
OpenCL - Resolves some OpenCL compiler issues. - Resolves some OpenCL conversion issues. - Fixes some OpenCL crashes. - Resolves some OpenCL Framework issues.
llvm - Resolves segmentation faults. - Resolves some compiler crashes. - Improvements for OpenCL and OpenGL.
jensverwiebe wrote:Dade...found some more info on potentially wrong output with NV.
Has todo with usage of __global vs. __constant and mem_objects.
http://forums.nvidia.com/index.php?show ... ntry952629
http://stackoverflow.com/questions/1752 ... -incorrect
http://stackoverflow.com/questions/1576 ... cl-kernels
Hope it is helpful, i haven´t got through it though, will try today...
Dade wrote:Going to post a kernel not using __constant memory in a minute.
Reading scene: scenes/cornell.scn
Scene size: 9
OpenCL Platform 0: Apple
OpenCL Device 0: Type = TYPE_GPU
OpenCL Device 0: Name = GeForce 8800 GT
OpenCL Device 0: Compute units = 14
OpenCL Device 0: Max. work group size = 512
OpenCL Device 1: Type = TYPE_CPU
OpenCL Device 1: Name = Intel(R) Xeon(R) CPU 5150 @ 2.66GHz
OpenCL Device 1: Compute units = 4
OpenCL Device 1: Max. work group size = 1
[SELECTED] OpenCL Device 0: Type = TYPE_GPU
[SELECTED] OpenCL Device 0: Name = GeForce 8800 GT
[SELECTED] OpenCL Device 0: Compute units = 14
[SELECTED] OpenCL Device 0: Max. work group size = 512
Reading file 'preprocessed_rendering_kernel.cl' (size 16931 bytes)
OpenCL Device 0: kernel work group size = 192
OpenCL Device 0: forced kernel work group size = 64
jensverwiebe wrote:Aaaaaah...finally.Many thx Dade, bugreport to Apple filed, i hope next update fixes this thing complete.
jensverwiebe wrote:So now we know about this
Dade wrote:Can I say that CPUs are starting to look a bit pathetic ? My poor Q6600 is totally owned by the 4870 :D The GPU is 9.83 times faster than the CPU :?
Users browsing this forum: No registered users and 2 guests