Skip to content

PassiveLogic/enzyme-swift-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

kevin-vigorKevin Vigor
and
Kevin Vigor
Jun 16, 2021
33fa302 · Jun 16, 2021

History

1 Commit
Jun 16, 2021
Jun 16, 2021
Jun 16, 2021
Jun 16, 2021

Repository files navigation

Enzyme Swift Demo

Example which demonstrates autodiff of a simple differentiable function in Swift with both Swift native autodiff and Enzyme.

This has only been tested on a MacOS x86 host system, but linux should also work.

As of this writing this requires a Swift toolchain built on or after 6/12/2021. Nightly builds can be obtained here:

https://swift.org/download/#snapshots

Build and run the two variants with the "go" script in this directory. Note that "go" declares the specific versions of the tools (llvm, swift, enzyme) that are known to work.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published