Skip to content

Instantly share code, notes, and snippets.

View bernhardmgruber's full-sized avatar

Bernhard Manfred Gruber bernhardmgruber

View GitHub Profile
export HISTSIZE=1000000
export HISTFILESIZE=1000000
export MAKEFLAGS="-j$(nproc)"
# CUDA
export PATH=${PATH}:/usr/local/cuda/bin
export CUDAHOSTCXX=g++-12 # update to latest supported
# vcpkg
source /home/bgruber/dev/vcpkg/scripts/vcpkg_completion.bash
  • 7c4e9164 release: version 1.4.4 - Axel Naumann
  • 27e2ebe3 Regenerate godbolt headers - Bernhard Manfred Gruber
  • a84a14c6 Fix horizontal max/min for uchar - Bernhard Manfred Gruber
  • c93ca58f Rename None to NoTransformation in enum class Category to avoid a clash with X11 library - Dmitri Konstantinov
  • ea663e28 Adapt to cpp17: std::iterator is deprecated - Danilo Piparo
  • d4b81096 Add missing vectorcall to isImplementationSupported - Bernhard Manfred Gruber
  • f5f29c74 after release: version 1.4.3-dev - Axel Naumann
  • 985d6db0 fix warning on using TimeStampCounter uninitialized - Bernhard Manfred Gruber
  • f4bb7700 add maintenance mode warning to issue template - Bernhard Manfred Gruber
  • c63cef9f update minimum MSVC version in README.md - Bernhard Manfred Gruber
  • bf03f789 Revert "disable submitting to cdash" - Bernhard Manfred Gruber
  • d9ba27bd reduce ulp test problem size for msvc - Bernhard Manfred Gruber
  • 9e222642 reduce debug output to console - Bernhard Manfred Gruber
  • e044074c run debug builds in CI - Bernhard Manfred Gruber
  • 96919a60 fix out of bounds index when float_v is scalar - Bernhard Manfred Gruber
  • [`
Checks: "
*,
-bugprone-exception-escape, # bgruber is fine with exceptions escaping main we cannot add main as an exception
-bugprone-forward-declaration-namespace, # too many false positives in LLAMA
-cert-msc32-c,
-cert-msc51-cpp,
-cppcoreguidelines-avoid-c-arrays,
-cppcoreguidelines-avoid-magic-numbers,
-cppcoreguidelines-avoid-non-const-global-variables,
-cppcoreguidelines-non-private-member-variables-in-classes,
@bernhardmgruber
bernhardmgruber / Changelog Vc 1.4.2.md
Created June 23, 2021 08:55
Changelog Vc 1.4.2.md
  • fc2d75d0 release: version 1.4.2 - Axel Naumann
  • d4310fdb Redirect CDash submissions to CERN's CDash (#280) - Guilherme Amadio
  • c8c2dc9b mention std::experimental::simd in and remove mailing list/irc from README.md (#279) - Bernhard Manfred Gruber
  • 83e99cd6 reenable span::_as_bytes() for MSVC > 1928 (#277) - Bernhard Manfred Gruber
  • c09a406c Instruct CMake not to issue compatibility warnings up to version 3.13 (#276) - Andrei Gheata
  • f41958c3 Add missing include to simdarray.h (#275) - Guilherme Amadio
  • 953035b4 disable span<T, dynamic_extent>::_as_bytes() for MSVC - Bernhard Manfred Gruber
  • 37d48ab7
@bernhardmgruber
bernhardmgruber / SoAContainer.cpp
Last active April 12, 2021 10:28
n-body simulation using an SoAContainer using the proposed C++ reflection/injection facilities
#include <vector>
#include <tuple>
#include <cmath>
#include <random>
namespace meta = std::experimental::meta;
namespace lib {
namespace internal {
consteval void genSoRMembers(meta::info sov) {
#pragma once
// ============================================================================
// == ./Meta.hpp ==
// ==
// SPDX-License-Identifier: GPL-3.0-or-later
// #pragma once
#include <boost/mp11.hpp>
@bernhardmgruber
bernhardmgruber / .clang-format
Last active December 31, 2022 09:23
.clang-format
# see https://clang.llvm.org/docs/ClangFormatStyleOptions.html
BasedOnStyle: LLVM
AccessModifierOffset: -4
AlignAfterOpenBracket: DontAlign
AlignOperands: true
AlignTrailingComments: true
AllowShortBlocksOnASingleLine: Empty
AllowShortCaseLabelsOnASingleLine: true
AllowShortIfStatementsOnASingleLine: Never
AllowShortLoopsOnASingleLine: false