Compare commits
1 Commits
tape_machi
...
likwid
Author | SHA1 | Date | |
---|---|---|---|
9cd2bcdba2 |
14
src/estimator/likwid.jl
Normal file
14
src/estimator/likwid.jl
Normal 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
|
@ -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]
|
||||
|
Reference in New Issue
Block a user