cuda-samples/bin/x86_64/linux/release/APM_binomialOptions.txt

23 lines
655 B
Plaintext
Raw Normal View History

2023-03-01 09:41:29 +08:00
[./binomialOptions] - Starting...
GPU Device 0: "Hopper" with compute capability 9.0
Generating input data...
Running GPU binomial tree...
Options count : 1024
Time steps : 2048
binomialOptionsGPU() time: 2.081000 msec
Options per second : 492071.098457
Running CPU binomial tree...
Comparing the results...
GPU binomial vs. Black-Scholes
L1 norm: 2.220214E-04
CPU binomial vs. Black-Scholes
L1 norm: 2.220922E-04
CPU binomial vs. GPU binomial
L1 norm: 7.997008E-07
Shutting down...
NOTE: The CUDA Samples are not meant for performance measurements. Results may vary when GPU Boost is enabled.
Test passed