Skip to content

Instantly share code, notes, and snippets.

View psychocoderHPC's full-sized avatar
💭
Covid19 Sucks

René Widera psychocoderHPC

💭
Covid19 Sucks
View GitHub Profile
# Fixing Nvidia 4.18+ Profiling on Ubuntu 19.04
1. Set module parmeter
```
echo 'options nvidia "NVreg_RestrictProfilingToAdminUsers=0"' | sudo tee -a /etc/modprobe.d/nvidia.conf
```
2. Rebuild intramfs.
@ax3l
ax3l / CXXdefaults.md
Last active July 28, 2025 04:28
Compiler C++ Version Defaults

C++ -std=... default of various commonly used C++ compilers

Compiler Version __cplusplus
g++ 4.7.4 199711L
5.5.0 199711L
6.1.0 201402L
10.2 201402L
11.1.0 201703L
clang++ 3.4.2 199711L
@ax3l
ax3l / CUDA_Compilers.md
Last active December 9, 2025 18:27
CUDA Compilers
@ax3l
ax3l / BoostLibs.md
Last active August 14, 2017 13:19
Boost Compile Time Libs and Names

Boost 1.62

List of all libs here. Non header-only libraries (via ./bootstrap.sh --show-libraries):

The Boost libraries requiring separate building and installation are:
    - atomic
    - chrono
    - container
 - context
@ax3l
ax3l / CodingGuideLines_PIConGPU.md
Last active December 20, 2015 20:49
New PIConGPU Coding Guide Lines - Draft
  • TypeNames and objects, e.g. const Event event;
  • close namespaces with a comment: } // namespace itsName
  • Makros with newlines: align \ symbol to column 80
  • Describe how PreProcessor Macros are unrolled (excellent example)
/*      < typename T0, ... , typename TN    > */
template<BOOST_PP_ENUM_PARAMS(N, typename T)>
/*                      ( const T0, ... , const TN        ) */
HDINLINE void operator()( BOOST_PP_ENUM_PARAMS(N, const T)) const