Khronos APIs for Heterogeneous Compute and Safety: SYCL and SYCL SCcpp.Multiple Backends in Development SYCL on even more low-level frameworks. For more information: http://sycl.tech SYCL EXPERIMENTAL DEVELOPMENT (2023/04/18) Source Code triSYCL Open source test bed OpenCL, CUDA, OpenMP, SYCL 2020 Implementation: - Data is moved to the device via explicit copy APIs Here we’re using C++ AMP as an example Examples: - SYCL, C++ AMP Implementation: - Data is moved0 码力 | 82 页 | 3.35 MB | 6 月前3
Creating a Sender/Receiver HTTP ServerTechAtBloomberg.com © 2024 Bloomberg Finance L.P. All rights reserved. • Create a basic HTTP server. • Allow a single-threaded server handling multiple clients. • Use the sender/receiver asynchronous std::execution (sender/receiver): http://wg21.link/p2300 • https://github.com/NVIDIA/stdexec.git • https://github.com/beman-project/execution26 • Sender/receiver networking: http://wg21.link/p2762 • Implementation: Implementation: https://github.com/beman-project/net29 • Async scope: http://wg21.link/p3149 Resources0 码力 | 8 页 | 2.19 MB | 6 月前3
cppcon 2021 safety guidelines for C parallel and concurrencyProgramming Language ● ISO C++ Directions Group past Chair ● Past CEO OpenMP ● ISOCPP.org Director, VP http://isocpp.org/wiki/faq/wg21#michael-wong ● michael@codeplay.com ● fraggamuffin@gmail.com ● Head of electronic components (SOTIF) ● Chair of UL4600 Object Tracking ● RISC-V Datacenter/Cloud Computing Chair ● http://wongmichael.com/about ● C++11 book in Chinese: https://www.amazon.cn/dp/B00ETOV2OQ We build GPU increase determinism New Generation Safety Critical APIs for Graphics, Compute and Display Industry Need for CPU/GPU Acceleration APIs designed to ease system safety certification Rendering0 码力 | 52 页 | 3.14 MB | 6 月前3
Heterogeneous Modern C++ with SYCL 2020Programming Language ● ISO C++ Directions Group past Chair ● Past CEO OpenMP ● ISOCPP.org Director, VP http://isocpp.org/wiki/faq/wg21#michael-wong ● michael@codeplay.com ● fraggamuffin@gmail.com ● Head components (SOTIF) ● Chair of UL4600 Object Tracking ● RISC-V Datacenter/Cloud Computing Chair ● http://wongmichael.com/about ● C++11 book in Chinese: https://www.amazon.cn/dp/B00ETOV2OQ We build GPU design patterns • Expanded interoperability • Efficient acceleration by diverse backend acceleration APIs • SYCL atomic operations are now more closely aligned to standard C++ atomics • Enhances parallel0 码力 | 114 页 | 7.94 MB | 6 月前3
The Roles of Symmetry And Orthogonality In Designoperations (substr, find, compare, ==, <, >) • span<> is not Regular, and does not support ==, <, > (see: http://www.open- std.org/jtc1/sc22/wg21/docs/papers/2018/p1085r2.md) C++ Globals • Construction order: orthogonality is used in: • Design of instruction sets • Design of programming languages • Design of APIs • Design of user interfaces A B Orthogonality grants simplicity to dismiss as a possibility some Trigger-interface APIs: Trigger, handler, or callback invokes subsystem orthogonally to normal system execution flow (e.g., handling raised exceptions, system events, queued callbacks) Resource Sharing APIs: Multiple0 码力 | 151 页 | 3.20 MB | 6 月前3
《深入浅出MFC》2/e于繁简转译制作 上的费时费工,鉴于我对同胞的感情,我决定开放此书内容,供各位免费阅读。 我已为《深入浅出MFC 》2/e 制作了PDF 格式之电子文件, 放在 http://www.jjhou.com 供自由下载。北京http://expert.csdn.net/jjhou 有侯捷网站的 一个GBK mirror,各位也可试着自该处下载。 我所做的这份电子书是繁体版,我没有精力与时间将它转为简体。这已是我能 framework 架构组织之后,接下来在programming 实务方面,就是去了解并运用各个classes,而各个classes 的member functions 有许多就是 Windows APIs 的一对一化身。 xvii 左营luke@orchid.ee.ntu.edu.tw 侯先生你好:我现在是一名信息预官,还在左营受训。因为受训的关系所以偶然间有机会读 到你写的深入浅出MFC 之间以所谓的thunking layer 沟通。站在纯 粹APIs 使用者的立场,目前我们不必太搭理这个事实。 Windows 发展至今,逐渐加上的一些新的API 函数(例如Common Dialog、ToolHelp) 并不放在GDI 和USER 和KERNEL 三大模块中,而是放在诸如COMMDLG.DLL、 TOOLHELP.DLL 之中。如果要使用这些APIs,联结时还得加上这些DLLs 所对应的 import0 码力 | 1009 页 | 11.08 MB | 1 年前3
Concurrency3. The threads do not synchronize with each other A data race is undefined behavior Definition http://eel.is/c++draft/intro.racesCppCon 2023 56 David Olsen - Back to Basics: Concurrency DATA RACES calls to unlock() must match number of calls to lock() Useful when some thread-safe APIs call other thread-safe APIs https://en.cppreference.com/w/cpp/thread/recursive_mutexCppCon 2023 144 David Olsen0 码力 | 160 页 | 2.91 MB | 6 月前3
Regular, RevisitedSlide Title Fundamentals of Generic Programming James C. Dehnert and Alexander Stepanov 1998 http://stepanovpapers.com/DeSt98.pdf Generic programming depends on the decomposition of programs into Slide Title Fundamentals of Generic Programming James C. Dehnert and Alexander Stepanov 1998 http://stepanovpapers.com/DeSt98.pdf Among the interfaces of interest, the most pervasively and unconsciously Slide Title Fundamentals of Generic Programming James C. Dehnert and Alexander Stepanov 1998 http://stepanovpapers.com/DeSt98.pdf We must investigate the relations which must hold among these operators0 码力 | 180 页 | 19.96 MB | 6 月前3
C++26 Previewmeetings on going every week 3 virtual plenary sessions / year opened the door to participation! http://wg21.link/P0592 2Status of c++26 - it'll ship on time it is an immutable property of committee meetings on going every week 3 virtual plenary sessions / year opened the door to participation! http://wg21.link/P0592 c++26 schedule 2022-02 meeting (Kent Wa) was last c++ 2023 meeting 2025-02 –> 1Library - Utilities 67P1759 Native handles and file streams // No need to use platform-specific APIs to open the file { std::ofstream of("~/foo.txt"); auto lm = last_modified(of.native_handle());0 码力 | 118 页 | 2.02 MB | 6 月前3
Get off my thread: Techniques for moving k to background threadsspawn new threads: std::thread std::jthread std::async(std::launch::async,...) Platform-specific APIs They all have the same problem: detaching the thread leaves it running, but joining the thread means implementation of the C++ Concurrency TS, including a lock-free implementation of atomic_shared_ptr and RCU. http://stdthread.co.uk0 码力 | 90 页 | 6.97 MB | 6 月前3
共 164 条
- 1
- 2
- 3
- 4
- 5
- 6
- 17













