Verfasst: 12.03.2009 19:12
bei mir gehts:

Initializing
Allocating some memory
Loading the dataset into the GPU
Binding the code
Calculating
Time needed for GPU Calculation (5000 times): 968ms
Dataset A: 0.000 0.100 0.200 0.300 0.400 0.500 [...]
Dataset B: 0.100 0.100 0.100 0.100 0.100 0.100 [...]
--------------------------------------------------------------------------------
Dataset R: 0.000 0.004 0.017 0.045 0.096 0.178 [...]
Time needed for CPU Calculation (5000 times): 3985ms
Dataset A: 0.000 0.100 0.200 0.300 0.400 0.500 [...]
Dataset B: 0.100 0.100 0.100 0.100 0.100 0.100 [...]
--------------------------------------------------------------------------------
Dataset R: 0.000 0.004 0.017 0.045 0.096 0.178 [...]
Both result-buffers are equal (Maximum tolerance between floats: 0.0000010000. W
e must use this, because of different algorithms for square roots and power of f
unctions).
Press any key to release all data and to exit.
