Skip to content

Instantly share code, notes, and snippets.

🐢

Simon Byrne simonbyrne

🐢
View GitHub Profile
View Manifest.toml
# This file is machine-generated - editing it directly is not advised
[[Base64]]
uuid = "2a0f44e3-6c83-55bd-87e4-b1978d98bd5f"
[[CompilerSupportLibraries_jll]]
deps = ["Libdl", "Pkg"]
git-tree-sha1 = "7c4f882c41faa72118841185afc58a2eb00ef612"
uuid = "e66e0078-7015-5450-92f7-15fbd957f2ae"
version = "0.3.3+0"
View Tendencies.jl
module Tendencies
abstract type Term end
# rows: equations of each variable
abstract type PrognosticQuantity <: Term end
struct Mass <: PrognosticQuantity end
struct Momentum <: PrognosticQuantity end
View mpiexec printenv
# mpiexec(cmd -> run(`$cmd -n 1 printenv`))
MPI_IMPL=none
TRAVIS_ARCH=amd64
TRAVIS_FILTERED=redirect_io
rvm_bin_path=/Users/travis/.rvm/bin
View testgpu.jl
using CUDAdrv
using CUDAnative
using CuArrays
using CUDAapi
using GPUifyLoops
using BenchmarkTools
using StaticArrays
using Test
View gpuify_error.jl
using Pkg
using LinearAlgebra
using StaticArrays
using GPUifyLoops
@static if haskey(Pkg.installed(), "CuArrays")
using CUDAdrv
using CUDAnative
using CuArrays
CuArrays.allowscalar(false)
View cassette-fizzbuzz.jl
using Cassette
Cassette.@context FizzBuzzCtx
function Cassette.overdub(ctx::FizzBuzzCtx, ::typeof(string), i::Integer)
if i % 3 == 0
if i % 5 == 0
"fizzbuzz"
else
"fizz"
@simonbyrne
simonbyrne / output cpu
Created May 12, 2019
HPC CI d4e02e4e7925c8358a1160062fda5ca2b0de9bdb
View output cpu
Updating registry at `~/.julia/registries/General`
Updating git-repo `https://github.com/JuliaRegistries/General.git`
[?25l[?25hhello world
@simonbyrne
simonbyrne / output cpu
Created May 12, 2019
HPC CI d4e02e4e7925c8358a1160062fda5ca2b0de9bdb
View output cpu
Updating registry at `~/.julia/registries/General`
Updating git-repo `https://github.com/JuliaRegistries/General.git`
[?25l[?25hhello world
@simonbyrne
simonbyrne / output
Created May 12, 2019
HPC CI d4e02e4e7925c8358a1160062fda5ca2b0de9bdb
View output
Updating registry at `~/.julia/registries/General`
Updating git-repo `https://github.com/JuliaRegistries/General.git`
[?25l[?25h Cloning git-repo `https://github.com/vchuravy/GPUifyLoops.jl.git`
[?25l Fetching: [> ] 0.0 % [?25h Installed RecipesBase ───────────────── v0.6.0
Installed MultiScaleArrays ──────────── v1.4.0
Installed TreeViews ─────────────────── v0.3.0
Installed DiffEqDiffTools ───────────── v0.8.1
Installed Distances ─────────────────── v0.8.0
Installed DiffEqNoiseProcess ────────── v3.1.0
Installed DiffEqBase ────────────────── v5.7.0
You can’t perform that action at this time.