Skip to content

Instantly share code, notes, and snippets.

View ArbitRandomUser's full-sized avatar
🦧

John George Francis ArbitRandomUser

🦧
View GitHub Profile
@ArbitRandomUser
ArbitRandomUser / gist:da8d439544945466c1df566df561d5f4
Created February 14, 2022 04:35
example program using dvisvgm in Javis
using Javis
using LaTeXStrings
#set Javis to use dvisvgm
Javis.setLaTeXprog(:dvisvgm)
#add additional packages, amssymb and amsmath ..
#..are added by default.
push!(Javis.LaTeXusepackages,"physics")
@ArbitRandomUser
ArbitRandomUser / error.txt
Created December 30, 2023 05:11
llvm IR from error
julia> Enzyme.autodiff(Reverse,Duplicated(df,make_zero(df)),Const,Duplicated(du,vecc),Duplicated(u,make_zero(u)),Duplicated(nnparams,dp),0.1)
┌ Warning: Using fallback BLAS replacements, performance may be degraded
└ @ Enzyme.Compiler ~/.julia/packages/GPUCompiler/U36Ed/src/utils.jl:59
┌ Warning: Using fallback BLAS replacements, performance may be degraded
└ @ Enzyme.Compiler ~/.julia/packages/GPUCompiler/U36Ed/src/utils.jl:59
ERROR: Enzyme compilation failed.
Current scope:
; Function Attrs: mustprogress willreturn
define internal fastcc void @preprocess_julia_set_params_12661({ i64, [2 x { i64, i64, {} addrspace(10)*, {} addrspace(10)* }], {} addrspace(10)* } addrspace(11)* nocapture noundef nonnull readonly align 8 dereferenceable(152) %0, {} addrspace(10)* noundef nonnull align 16 dereferenceable(40) %1) unnamed_addr #46 !dbg !7796 {
top: