diff --git a/hercules_opt/Cargo.toml b/hercules_opt/Cargo.toml index 84f6aca83e508d905ad0e13f0670e7d45c18d22b..c8f7780fdf474607dba341f68463b21be4316950 100644 --- a/hercules_opt/Cargo.toml +++ b/hercules_opt/Cargo.toml @@ -4,6 +4,9 @@ version = "0.1.0" authors = ["Russel Arbore <rarbore2@illinois.edu>, Aaron Councilman <aaronjc4@illinois.edu>"] edition = "2021" +[features] +cuda = ["hercules_cg/cuda"] + [dependencies] ordered-float = "*" bitvec = "*" diff --git a/hercules_samples/fac/Cargo.toml b/hercules_samples/fac/Cargo.toml index d4b9c5fe2ae7ac6907d3c1181dabb3cb247cff2e..350e365890ecb3ef2e4337b97d22839c9e8051b9 100644 --- a/hercules_samples/fac/Cargo.toml +++ b/hercules_samples/fac/Cargo.toml @@ -4,6 +4,9 @@ version = "0.1.0" authors = ["Russel Arbore <rarbore2@illinois.edu>"] edition = "2021" +[features] +cuda = ["juno_build/cuda"] + [build-dependencies] juno_build = { path = "../../juno_build" } diff --git a/juno_build/Cargo.toml b/juno_build/Cargo.toml index 72faf4bd14da65b482f2e379c1b51ce3ede8dcf0..138891710760e547fe743e31c814080002a71011 100644 --- a/juno_build/Cargo.toml +++ b/juno_build/Cargo.toml @@ -4,6 +4,9 @@ version = "0.1.0" authors = ["Aaron Councilman <aaronjc4@illinois.edu>"] edition = "2021" +[features] +cuda = ["juno_frontend/cuda"] + [dependencies] juno_frontend = { path = "../juno_frontend" } hercules_ir = { path = "../hercules_ir" } diff --git a/juno_frontend/Cargo.toml b/juno_frontend/Cargo.toml index 39e18baab4b00c548a4f0624a2039fe8b0ecee49..3c3d557fbefacfaf8a14d8a58f2e45092820c647 100644 --- a/juno_frontend/Cargo.toml +++ b/juno_frontend/Cargo.toml @@ -4,6 +4,9 @@ version = "0.1.0" authors = ["Aaron Councilman <aaronjc4@illinois.edu>"] edition = "2021" +[features] +cuda = ["hercules_opt/cuda"] + [[bin]] name = "juno" path = "src/main.rs"