Skip to content

Instantly share code, notes, and snippets.

// #include <benchmark/benchmark.h>
#include <Eigen/Core>
#include <iostream>
// using namespace Eigen;
template<typename Middle, typename LhsScalar, typename RhsScalar>
struct scalar_bracket;
template<typename Middle, typename LhsScalar, typename RhsScalar>
struct Eigen::internal::functor_traits<scalar_bracket<Middle, LhsScalar, RhsScalar>> {
@pseyfert
pseyfert / amplxe-vars.zsh
Created May 22, 2020 17:29
amplxe-vars.sh for ZSH (intel vtune, 2020.1)
# SCRIPT_DIR="$( dirname "$( readlink -e "${BASH_SOURCE[0]}" )" )"
# PRODUCT_DIR="$( cd "${SCRIPT_DIR}"/.. && pwd)"
PRODUCT_DIR="$( dirname ${(%):-%N} )"