1 Commits

Author SHA1 Message Date
9cd2bcdba2 WIP 2024-01-03 16:57:49 +01:00
2 changed files with 15 additions and 1 deletions

14
src/estimator/likwid.jl Normal file
View File

@ -0,0 +1,14 @@
using LIKWID
"""
LIKWIDEstimator <: AbstractEstimator
An estimator using LIKWID.jl to measure the total FLOPS needed to execute the graph.
"""
struct LIKWIDEstimator <: AbstractEstimator end
cost_type(::LIKWIDEstimator) = Float64
function graph_cost(::LIKWIDEstimator, graph::DAG)
end

View File

@ -37,7 +37,7 @@ testparticleTypesPropagated = [
function compton_groundtruth(input::QEDProcessInput)
# p1k1 -> p2k2
# formula: -(ie)^2 (u(p2) slashed(ε1) S(p2 - k1) slashed(ε2) u(p1) + u(p2) slashed(ε2) S(p1 + k1) slashed(ε1) u(p1))
# formula: (ie)^2 (u(p2) slashed(ε1) S(p2 k1) slashed(ε2) u(p1) + u(p2) slashed(ε2) S(p1 + k1) slashed(ε1) u(p1))
p1 = input.inFerms[1]
p2 = input.outFerms[1]