|
168 | 168 | "outputs": [], |
169 | 169 | "source": [ |
170 | 170 | "# Compare Sensitivities\n", |
| 171 | + "# If we set pricing engine's ExternalDeviceCompatibilityMode to false, then get zero deviations from the reference run above\n", |
| 172 | + "# if we set ExternalDeviceCompatibilityMode to true, then we see differences below due to different ordering of random variates in both runs\n", |
171 | 173 | "utilities.match_sensi_reports(ore, ore_cg, \"DeltaBump\", \"DeltaCG\", False)" |
172 | 174 | ] |
173 | 175 | }, |
|
320 | 322 | "outputs": [], |
321 | 323 | "source": [ |
322 | 324 | "# Compare Pricing Stats\n", |
323 | | - "utilities.match_pricingstats_123(ore, ore_ad, ore_gpu, \"SpeedupAD\", \"SpeedupGPU\", False)" |
| 325 | + "utilities.match_pricingstats_123(ore_cg, ore_ad, ore_gpu, \"SpeedupAD\", \"SpeedupGPU\", False)" |
324 | 326 | ] |
325 | 327 | }, |
326 | 328 | { |
|
330 | 332 | "outputs": [], |
331 | 333 | "source": [ |
332 | 334 | "# Compare Sensitivities\n", |
333 | | - "utilities.match_sensi_reports(ore, ore_gpu, \"DeltaBump\", \"DeltaGPU\", False)" |
| 335 | + "# to the reference run with both UseCG and ExternalDeviceCompatibilityMode set to true\n", |
| 336 | + "utilities.match_sensi_reports(ore_cg, ore_gpu, \"DeltaBump\", \"DeltaGPU\", False)" |
334 | 337 | ] |
335 | 338 | }, |
336 | 339 | { |
337 | 340 | "cell_type": "markdown", |
338 | 341 | "metadata": {}, |
339 | 342 | "source": [ |
340 | 343 | "### Todos\n", |
341 | | - "- debug the BasicCpu device calculation\n", |
342 | | - "- double precision for the OpenCL implementation\n", |
343 | | - "- random number generators for the OpenCL implementation (MT antithetic, Sobol, Sobol BB)\n", |
| 344 | + "- check the OpenCL implementation with devices that support double precision, e.g. Nvidia\n", |
| 345 | + "- add random number generators to the OpenCL implementation (MT antithetic, Sobol, Sobol BB)\n", |
344 | 346 | "- CUDA implementation" |
345 | 347 | ] |
346 | 348 | }, |
|
0 commit comments