file for ECP-WarpX/impactx#539
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
! This is the F2003 version of the h5_compound.c example source code. | |
! * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * | |
! Copyright by the Board of Trustees of the University of Illinois. * | |
! All rights reserved. * | |
! * | |
! This file is part of HDF5. The full HDF5 copyright notice, including * | |
! terms governing use, modification, and redistribution, is contained in * | |
! the files COPYING and Copyright.html. COPYING can be found at the root * | |
! of the source code distribution tree; Copyright.html can be found at the * | |
! root level of an installed copy of the electronic HDF5 document set and * |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# snippet for file: $HOME/.bashrc | |
# | |
# License: CC0 | |
# | |
# register a bash function that calls the script above | |
activate-env () { | |
. $HOME/bin/impl-activate-env $@ | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cmake_minimum_required(VERSION 3.11) | |
project(openPMD_test) | |
add_executable(mytest main.cpp) | |
target_compile_features(mytest PRIVATE cxx_std_14) | |
find_package(openPMD REQUIRED CONFIG) | |
target_link_libraries(mytest PRIVATE openPMD::openPMD) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Minimal declarations for CUDA support. Testing purposes only. */ | |
#define __constant__ __attribute__((constant)) | |
#define __device__ __attribute__((device)) | |
#define __global__ extern "C" __attribute__((global)) | |
#define __host__ __attribute__((host)) | |
#define __shared__ __attribute__((shared)) | |
#define __launch_bounds__(...) __attribute__((launch_bounds(__VA_ARGS__))) | |
#define __forceinline__ __attribute__((always_inline)) |
Projects with wide adoption, broad compiler support, proper testing and great documentation.
Most of them are header-only (which is not necessarily a good thing for all tasks!), some of them even provide an amalgated (single-file) header.
(replace Boost.ProgramOptions)
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This is a spontaneous and verbatime log of a conversion with Boris Staletic @bstaletic from March, 24th 2018 on the pybind11 gitter. Thank you so much, Boris!
To confuse future readers, we decided to write down the discussion and I added typos and unnecessarily long sentences.
The issue came up with linking a CMake (library) target into a pybind11 module (in openPMD-api).
NewerOlder