Skip to content

Instantly share code, notes, and snippets.

# This file is machine-generated - editing it directly is not advised
[[AbstractTrees]]
git-tree-sha1 = "03e0550477d86222521d254b741d470ba17ea0b5"
uuid = "1520ce14-60c1-5f80-bbc7-55ef81b5835c"
version = "0.3.4"
[[ArgTools]]
uuid = "0dad84c5-d112-42e6-8d28-ef12dabb789f"
using BenchmarkTools
using DataFrames
using VegaLite
results = only(BenchmarkTools.load(joinpath(@__DIR__, "results.json")))
function parse_problem_label(label)
m = match(
r"""
^([^-]+)
{
"$schema": "https://vega.github.io/schema/vega-lite/v5.json",
"description": "A simple bar chart with embedded data.",
"data": {
"values": [
{"a": "A", "b": 28}, {"a": "B", "b": 55}, {"a": "C", "b": 43},
{"a": "D", "b": 91}, {"a": "E", "b": 81}, {"a": "F", "b": 53},
{"a": "G", "b": 19}, {"a": "H", "b": 87}, {"a": "I", "b": 52}
]
},
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
# This file is machine-generated - editing it directly is not advised
[[Adapt]]
deps = ["LinearAlgebra"]
git-tree-sha1 = "ffcfa2d345aaee0ef3d8346a073d5dd03c983ebe"
uuid = "79e6a3ab-5dfb-504d-930d-738a2a938a0e"
version = "3.2.0"
[[ArgCheck]]
git-tree-sha1 = "dedbbb2ddb876f899585c4ec4433265e3017215a"
@tkf
tkf / Makefile
Created February 5, 2021 00:37
JULIA = julia --startup-file=no
export JULIA_NUM_THREADS = 32
export JULIA_LOAD_PATH = @
export JULIA_PROJECT = $(PWD)
.PHONY: rebuild
analysis.ipynb: analysis.jl result.json
$(MAKE) rebuild
JULIA = julia --startup-file=no
export JULIA_NUM_THREADS = 32
export JULIA_LOAD_PATH = @
export JULIA_PROJECT = $(PWD)
.PHONY: rebuild
analysis.ipynb: analysis.jl result.json
$(MAKE) rebuild
# This file is machine-generated - editing it directly is not advised
[[AbstractFFTs]]
deps = ["LinearAlgebra"]
git-tree-sha1 = "051c95d6836228d120f5f4b984dd5aba1624f716"
uuid = "621f4979-c628-5d54-868e-fcf4e3e8185c"
version = "0.5.0"
[[Adapt]]
deps = ["LinearAlgebra"]
# This file is machine-generated - editing it directly is not advised
[[AbstractFFTs]]
deps = ["LinearAlgebra"]
git-tree-sha1 = "051c95d6836228d120f5f4b984dd5aba1624f716"
uuid = "621f4979-c628-5d54-868e-fcf4e3e8185c"
version = "0.5.0"
[[Adapt]]
deps = ["LinearAlgebra"]
using FLoops
using CUDA
function demo1(ex, xs = CUDA.ones(3))
z = zero(eltype(xs))
@floop FallbackEx() for x in xs
@reduce(s = z + x)
end
return s
end