 Bringing Existing Code to CUDA Using constexpr and std::pmrblock_size>>>(N, x, y); // … } Ok, about the kernel parameters 10 |Memory“In a typical PC or cluster node today, the memories of the CPU and GPU are physically distinct and separated by the PCI-Express Memory GPU Memory 12 |“Unified Memory creates a pool of managed memory that is shared between the CPU and GPU, bridging the CPU-GPU divide. Managed memory is accessible to both the CPU and GPU using a y[i] += f(i); } 23 |“Unified Memory creates a pool of managed memory that is shared between the CPU and GPU, bridging the CPU-GPU divide. Managed memory is accessible to both the CPU and GPU using a0 码力 | 51 页 | 3.68 MB | 6 月前3 Bringing Existing Code to CUDA Using constexpr and std::pmrblock_size>>>(N, x, y); // … } Ok, about the kernel parameters 10 |Memory“In a typical PC or cluster node today, the memories of the CPU and GPU are physically distinct and separated by the PCI-Express Memory GPU Memory 12 |“Unified Memory creates a pool of managed memory that is shared between the CPU and GPU, bridging the CPU-GPU divide. Managed memory is accessible to both the CPU and GPU using a y[i] += f(i); } 23 |“Unified Memory creates a pool of managed memory that is shared between the CPU and GPU, bridging the CPU-GPU divide. Managed memory is accessible to both the CPU and GPU using a0 码力 | 51 页 | 3.68 MB | 6 月前3
 Modern C++ Tutorial: C++11/14/17/20 On the FlyContainer CHAPTER 04 CONTAINERS // As you can see, the storage of std::vector is automatically managed and // automatically expanded as needed. // But if there is not enough space, you need to redistribute operations. In principle, each thread can correspond to a cluster node, and communication between threads is almost equivalent to communication between cluster nodes. Weakening the synchronization conditions0 码力 | 92 页 | 1.79 MB | 1 年前3 Modern C++ Tutorial: C++11/14/17/20 On the FlyContainer CHAPTER 04 CONTAINERS // As you can see, the storage of std::vector is automatically managed and // automatically expanded as needed. // But if there is not enough space, you need to redistribute operations. In principle, each thread can correspond to a cluster node, and communication between threads is almost equivalent to communication between cluster nodes. Weakening the synchronization conditions0 码力 | 92 页 | 1.79 MB | 1 年前3
 Using Modern C++ to Build XOffsetDatastructureIn terms of Implementation, we ensure high performance by optimizing how data is processed and managed. Fanchen Su, XOffsetDatastructure, CppCon 2024 8 Time Input Size O(n) O(n) O(1) O(n)->O(n) a single process cannot handle everything. The game world is divided into smaller areas, each managed by its own process. As players move, data must migrate between these regions, leading to data transfers shown in the diagram, scenes are divided into different areas. • Area: Spatial partition of a scene managed by one process. Fanchen Su, XOffsetDatastructure, CppCon 2024 23 Sence => Areas2.1.2 Why Is Serialization0 码力 | 111 页 | 3.03 MB | 6 月前3 Using Modern C++ to Build XOffsetDatastructureIn terms of Implementation, we ensure high performance by optimizing how data is processed and managed. Fanchen Su, XOffsetDatastructure, CppCon 2024 8 Time Input Size O(n) O(n) O(1) O(n)->O(n) a single process cannot handle everything. The game world is divided into smaller areas, each managed by its own process. As players move, data must migrate between these regions, leading to data transfers shown in the diagram, scenes are divided into different areas. • Area: Spatial partition of a scene managed by one process. Fanchen Su, XOffsetDatastructure, CppCon 2024 23 Sence => Areas2.1.2 Why Is Serialization0 码力 | 111 页 | 3.03 MB | 6 月前3
 Relocation: Blazing Fast Save And Restore, Then Morel!handleWhat about resource managers? • For example a type that creates an std::ostream to a file: • Managed as special cases • That’s not something that can be helped either • Fortunately, true resource this concept, much less articulated it. • Custom allocation is just one of very many concerns of managed values that are obstructed by their value managers!Value Management • The concern of allocator needs to be communicated from types that handle values to the values they manage. Vice versa: the managed values may need to communicate concerns to the manager. • Then, we need to articulate a new concept:0 码力 | 41 页 | 2.81 MB | 6 月前3 Relocation: Blazing Fast Save And Restore, Then Morel!handleWhat about resource managers? • For example a type that creates an std::ostream to a file: • Managed as special cases • That’s not something that can be helped either • Fortunately, true resource this concept, much less articulated it. • Custom allocation is just one of very many concerns of managed values that are obstructed by their value managers!Value Management • The concern of allocator needs to be communicated from types that handle values to the values they manage. Vice versa: the managed values may need to communicate concerns to the manager. • Then, we need to articulate a new concept:0 码力 | 41 页 | 2.81 MB | 6 月前3
 THE NETWORKINGTS FROM SCRATCH: IO Objectspending>) explicit pending(T&& t); // 1. Moves the target out of the managed storage // 2. Deallocates the managed storage // 3. Invokes the target R operator()(Args... args); }; 11async_event service(std::net::execution_context& ctx); // Destroys all managed objects and ignores // further calls to destroy() virtual void shutdown(); // Creates a managed object by forwarding the // given arguments0 码力 | 35 页 | 900.82 KB | 6 月前3 THE NETWORKINGTS FROM SCRATCH: IO Objectspending>) explicit pending(T&& t); // 1. Moves the target out of the managed storage // 2. Deallocates the managed storage // 3. Invokes the target R operator()(Args... args); }; 11async_event service(std::net::execution_context& ctx); // Destroys all managed objects and ignores // further calls to destroy() virtual void shutdown(); // Creates a managed object by forwarding the // given arguments0 码力 | 35 页 | 900.82 KB | 6 月前3
 Conan 2.0 Documentation(“full_deploy” and “direct_deploy” are provided so far), or user-defined, which can be shared and managed with conan config install. Deployers run before generators, and they can change the target folders compatibility, but this extension is fully configurable by the user (and can also be shared and managed with conan config install) 2.10 New lockfiles Lockfiles in Conan 2 have been greatly simplified typically orthogonal function- ality to what the Conan recipes implement. These plugins can be shared, managed and installed via conan config install 2.13.1 Profile checker A new profile.py extension point0 码力 | 652 页 | 4.00 MB | 1 年前3 Conan 2.0 Documentation(“full_deploy” and “direct_deploy” are provided so far), or user-defined, which can be shared and managed with conan config install. Deployers run before generators, and they can change the target folders compatibility, but this extension is fully configurable by the user (and can also be shared and managed with conan config install) 2.10 New lockfiles Lockfiles in Conan 2 have been greatly simplified typically orthogonal function- ality to what the Conan recipes implement. These plugins can be shared, managed and installed via conan config install 2.13.1 Profile checker A new profile.py extension point0 码力 | 652 页 | 4.00 MB | 1 年前3
 Conan 2.1 Documentation(“full_deploy” and “direct_deploy” are provided so far), or user-defined, which can be shared and managed with conan config install. Deployers run before generators, and they can change the target folders compatibility, but this extension is fully configurable by the user (and can also be shared and managed with conan config install) 2.10 New lockfiles Lockfiles in Conan 2 have been greatly simplified typically orthogonal function- ality to what the Conan recipes implement. These plugins can be shared, managed and installed via conan config install 2.13.1 Profile checker A new profile.py extension point0 码力 | 694 页 | 4.13 MB | 1 年前3 Conan 2.1 Documentation(“full_deploy” and “direct_deploy” are provided so far), or user-defined, which can be shared and managed with conan config install. Deployers run before generators, and they can change the target folders compatibility, but this extension is fully configurable by the user (and can also be shared and managed with conan config install) 2.10 New lockfiles Lockfiles in Conan 2 have been greatly simplified typically orthogonal function- ality to what the Conan recipes implement. These plugins can be shared, managed and installed via conan config install 2.13.1 Profile checker A new profile.py extension point0 码力 | 694 页 | 4.13 MB | 1 年前3
 The Roles of Symmetry And Orthogonality In Designobjects • Is symmetry to define state based on control-flow (static lexical scoping) • Edge cases managed by the C++ Standard (Guaranteed!) “The compiler giveth, and the compiler taketh away”Charley Bay objects • Is symmetry to define state based on control-flow (static lexical scoping) • Edge cases managed by the C++ Standard (Guaranteed!) “The compiler giveth, and the compiler taketh away” Heap-based Is symmetry to define state independent of control-flow (static lexical scoping) • Edge cases managed by the developer “The developer giveth, and the developer better clean up after oneself” {0 码力 | 151 页 | 3.20 MB | 6 月前3 The Roles of Symmetry And Orthogonality In Designobjects • Is symmetry to define state based on control-flow (static lexical scoping) • Edge cases managed by the C++ Standard (Guaranteed!) “The compiler giveth, and the compiler taketh away”Charley Bay objects • Is symmetry to define state based on control-flow (static lexical scoping) • Edge cases managed by the C++ Standard (Guaranteed!) “The compiler giveth, and the compiler taketh away” Heap-based Is symmetry to define state independent of control-flow (static lexical scoping) • Edge cases managed by the developer “The developer giveth, and the developer better clean up after oneself” {0 码力 | 151 页 | 3.20 MB | 6 月前3
 Conan 2.3 Documentation(“full_deploy” and “direct_deploy” are provided so far), or user-defined, which can be shared and managed with conan config install. Deployers run before generators, and they can change the target folders compatibility, but this extension is fully configurable by the user (and can also be shared and managed with conan config install) 2.10 New lockfiles Lockfiles in Conan 2 have been greatly simplified typically orthogonal function- ality to what the Conan recipes implement. These plugins can be shared, managed and installed via conan config install 2.13.1 Profile checker A new profile.py extension point0 码力 | 748 页 | 4.65 MB | 1 年前3 Conan 2.3 Documentation(“full_deploy” and “direct_deploy” are provided so far), or user-defined, which can be shared and managed with conan config install. Deployers run before generators, and they can change the target folders compatibility, but this extension is fully configurable by the user (and can also be shared and managed with conan config install) 2.10 New lockfiles Lockfiles in Conan 2 have been greatly simplified typically orthogonal function- ality to what the Conan recipes implement. These plugins can be shared, managed and installed via conan config install 2.13.1 Profile checker A new profile.py extension point0 码力 | 748 页 | 4.65 MB | 1 年前3
 Conan 2.5 Documentation“direct_deploy” and “runtime_deploy” are provided so far), or user-defined, which can be shared and managed with conan config install. Deployers run before generators, and they can change the target folders compatibility, but this extension is fully configurable by the user (and can also be shared and managed with conan config install) 2.10 New lockfiles Lockfiles in Conan 2 have been greatly simplified typically orthogonal function- ality to what the Conan recipes implement. These plugins can be shared, managed and installed via conan config install 2.13.1 Profile checker A new profile.py extension point0 码力 | 769 页 | 4.70 MB | 1 年前3 Conan 2.5 Documentation“direct_deploy” and “runtime_deploy” are provided so far), or user-defined, which can be shared and managed with conan config install. Deployers run before generators, and they can change the target folders compatibility, but this extension is fully configurable by the user (and can also be shared and managed with conan config install) 2.10 New lockfiles Lockfiles in Conan 2 have been greatly simplified typically orthogonal function- ality to what the Conan recipes implement. These plugins can be shared, managed and installed via conan config install 2.13.1 Profile checker A new profile.py extension point0 码力 | 769 页 | 4.70 MB | 1 年前3
共 100 条
- 1
- 2
- 3
- 4
- 5
- 6
- 10













