mirror of
https://github.com/NVIDIA/cuda-samples.git
synced 2024-11-24 19:59:17 +08:00
23 lines
655 B
Plaintext
23 lines
655 B
Plaintext
[./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
|