mirror of
https://github.com/NVIDIA/cuda-samples.git
synced 2024-11-28 12:49:16 +08:00
37 lines
1021 B
Plaintext
37 lines
1021 B
Plaintext
[./BlackScholes] - Starting...
|
|
GPU Device 0: "Hopper" with compute capability 9.0
|
|
|
|
Initializing data...
|
|
...allocating CPU memory for options.
|
|
...allocating GPU memory for options.
|
|
...generating input data in CPU mem.
|
|
...copying input data to GPU mem.
|
|
Data init done.
|
|
|
|
Executing Black-Scholes GPU kernel (512 iterations)...
|
|
Options count : 8000000
|
|
BlackScholesGPU() time : 0.048059 msec
|
|
Effective memory bandwidth: 1664.634581 GB/s
|
|
Gigaoptions per second : 166.463458
|
|
|
|
BlackScholes, Throughput = 166.4635 GOptions/s, Time = 0.00005 s, Size = 8000000 options, NumDevsUsed = 1, Workgroup = 128
|
|
|
|
Reading back GPU results...
|
|
Checking the results...
|
|
...running CPU calculations.
|
|
|
|
Comparing the results...
|
|
L1 norm: 1.741792E-07
|
|
Max absolute error: 1.192093E-05
|
|
|
|
Shutting down...
|
|
...releasing GPU memory.
|
|
...releasing CPU memory.
|
|
Shutdown done.
|
|
|
|
[BlackScholes] - Test Summary
|
|
|
|
NOTE: The CUDA Samples are not meant for performance measurements. Results may vary when GPU Boost is enabled.
|
|
|
|
Test passed
|