Skip to content

Commit

Permalink
Clarify the changes made to the original file
Browse files Browse the repository at this point in the history
  • Loading branch information
kchristin22 committed Nov 15, 2024
1 parent 787f318 commit 89b7996
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions demos/CUDA/BlackScholes/BlackScholes.cu
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,12 @@

/*
* DISCLAIMER: The following file has been slightly modified to ensure
* compatibility with Clad and serve the purpose of a Clad demo. The original
* file is available in NVIDIA's cuda-samples repository on GitHub.
* compatibility with Clad and to serve as a Clad demo. Specifically, parts of
* the original `main` function have been moved to a separate function to use
* `clad::gradient` on. Furthermore, original print statements have been removed
* and new helper functions are now included in the file to verify the
* gradient's results. The original file is available in NVIDIA's cuda-samples
* repository on GitHub.
*
* Relevant documentation regarding the problem at hand can be found in NVIDIA's
* cuda-samples repository. Using Clad, we compute some of the Greeks
Expand Down

0 comments on commit 89b7996

Please sign in to comment.