[code-reflection] RFR: Implementing Black Scholes HAT Example

Ruby Chen duke at openjdk.org
Thu Aug 8 23:57:59 UTC 2024


Finished implementing Black Scholes, which calculates call and put values for randomly generated inputs.

Also made some minor modifications to the PTX backend and added a starting implementation of a Chess kernel. The Chess kernel has not been parallelized and only understands how to move pieces according to the rules and how to detect if a player is in check (although this is likely very buggy).

-------------

Commit messages:
 - fixing whitespace and headers
 - starting implementation of chess
 - improving blackscholes and adding chess
 - black scholes runs with ptx

Changes: https://git.openjdk.org/babylon/pull/212/files
  Webrev: https://webrevs.openjdk.org/?repo=babylon&pr=212&range=00
  Stats: 1222 lines in 7 files changed: 926 ins; 230 del; 66 mod
  Patch: https://git.openjdk.org/babylon/pull/212.diff
  Fetch: git fetch https://git.openjdk.org/babylon.git pull/212/head:pull/212

PR: https://git.openjdk.org/babylon/pull/212


More information about the babylon-dev mailing list