Skip to content
#

cpp11

cpp logo

C++ is a popular and widely used mid-level language. It was designed as an extension of the C language.

Here are 2,999 public repositories matching this topic...

zfields
zfields commented Feb 12, 2021

Description

I have a hardware abstraction layer interface, as well as a driver interface. I have multiple drivers utilizing the HAL interface, while implementing the driver interface. This plugin approach causes me to have identically named tests across multiple test files.

For example:

TEST_CASE("init() returns `E_HAL_INIT`, when HardwareAbstractionLayer::init() returns an er
simdjson
thrust
nv-dlasalle
nv-dlasalle commented Mar 19, 2021

Problem

Cub allows itself to place into a namespace via CUB_NS_PREFIX and CUB_NS_POSTFIX, such that multiple shared libraries can each utilize their own copy of it (and thus different versions can safely coexist). Static variables used for caching could otherwise cause problems (e.g., https://github.com/NVIDIA/cub/blob/main/cub/util_device.cuh#L212).

Thrust however depends on cub and

Created by Bjarne Stroustrup

Released October 1985

Website
isocpp.org
Wikipedia
Wikipedia