Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update support for timing internals #608

Merged
merged 3 commits into from
Apr 22, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Project.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name = "ChainRules"
uuid = "082447d4-558c-5d27-93f4-14fc19e9eca2"
version = "1.28.1"
version = "1.28.2"

[deps]
ChainRulesCore = "d360d2e6-b24c-11e9-a2a3-2a2ae2dbcce4"
Expand All @@ -18,7 +18,7 @@ ChainRulesTestUtils = "1.5"
Compat = "3.42.0"
FiniteDifferences = "0.12.20"
IrrationalConstants = "0.1.1"
JuliaInterpreter = "0.8" # latest is "0.9.1"
JuliaInterpreter = "0.8,0.9"
RealDot = "0.1"
StaticArrays = "1.2"
julia = "1.6"
Expand Down
8 changes: 6 additions & 2 deletions src/rulesets/Base/nondiff.jl
Original file line number Diff line number Diff line change
Expand Up @@ -453,8 +453,12 @@ end
@non_differentiable Base.time_ns()
@non_differentiable Base.typename(::Any)
@non_differentiable Base.depwarn(::Any...)
@non_differentiable Base.cumulative_compile_time_ns_before()
@non_differentiable Base.cumulative_compile_time_ns_after()
if isdefined(Base, :cumulative_compile_time_ns_before)
@non_differentiable Base.cumulative_compile_time_ns_before()
@non_differentiable Base.cumulative_compile_time_ns_after()
elseif isdefined(Base, :cumulative_compile_time_ns)
@non_differentiable Base.cumulative_compile_time_ns()
end
@non_differentiable Base.time_print(::Any...)

@non_differentiable Broadcast.combine_styles(::Any...)
Expand Down