Khronos APIs for Heterogeneous Compute and Safety: SYCL and SYCL SC
cpp.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 | 5 月前3Creating a Sender/Receiver HTTP Server
TechAtBloomberg.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 | 5 月前3cppcon 2021 safety guidelines for C parallel and concurrency
Programming 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 | 5 月前3Tornado 6.5 Documentation
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40 6.3 HTTP servers and clients . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . limited (Even though Tornado is built on asyncio, which supports Windows, Tornado does not use the APIs that are necessary for scalable networking on Windows). 11Tornado Documentation, Release 6.5.1 12 implementions of HTTP (HTTPServer and AsyncHTTPClient). • An asynchronous networking library including the classes IOLoop and IOStream, which serve as the building blocks for the HTTP components and can0 码力 | 272 页 | 1.12 MB | 2 月前3Heterogeneous Modern C++ with SYCL 2020
Programming 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 | 5 月前3Tornado 6.5 Documentation
Prerequisites: Tornado 6.3 requires Python 3.9 or newer. The following optional packages may be useful:pycurl [http://pycurl.io/] is used by the optional tornado.curl_httpclient. Libcurl version 7.22 or higher is required limited (Even though Tornado is built on asyncio, which supports Windows, Tornado does not use the APIs that are necessary for scalable networking on Windows). Documentation This documentation is also browser HTTP servers and clients tornado.httpserver — Non-blocking HTTP server tornado.httpclient — Asynchronous HTTP client tornado.httputil — Manipulate HTTP headers and URLs tornado.http1connection0 码力 | 437 页 | 405.14 KB | 2 月前3蚂蚁金服 API Gateway Mesh 思考与实践
your service code Exposes your services as managed APIs 概念 流量 东西流量(内部) 通信协议 路由 鉴权 流控 安全 协议转换 通用协议(HTTP、gRPC 等) 私有协议(WS、Dubbo、Bolt 等) 一般不需要 HTTP to 内部 RPC 协议 基于 Host、Path 等路由 基于 Service 路由 强依赖 managed APIs in the form of a decoupled sidecar proxy7/21 蚂蚁金服 API Gateway Mesh 实践 /028/21 APP Mobile Server 单体架构 Logic Logic Logic Logic 支付宝移动网关的前身(2009-2013) 特点: • ALL in One • 简单 HTTP 缺点: • 微服务网关 • 蚂蚁金服 RPC 协议 • 安全\鉴权\监控 • Netty 异步化 • 私有协议 MMTP 缺点: • API 网关变更风险 • 业务分级隔离需求 • 大促容量规划问题 HTTP/MMTP sofarpc10/21 去中心化网关架构(2016-2018) APP 去中心化网关架构 LB spanner APP1 Logic Logic API Gateway0 码力 | 22 页 | 1.72 MB | 5 月前3The Roles of Symmetry And Orthogonality In Design
operations (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 | 5 月前3Concurrency
3. 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 | 5 月前3Julia 1.11.4
for Unicode, including but not limited to UTF-8 • Call C functions directly (no wrappers or special APIs needed) • Powerful shell-like capabilities for managing other processes • Lisp-like macros and other since qualified names always make identifiers accessible, this is just an option for organizing APIs: unlike other languages, Julia has no facilities for truly hiding module internals. Also, some modules com", "github.com", "julialang.org") @async begin conn = connect(hostname, 80) write(conn, "GET / HTTP/1.1\r\nHost:$(hostname)\r\n\r\n") readline(conn, keep=true) println("Finished connection to $(hostname)")0 码力 | 2007 页 | 6.73 MB | 3 月前3
共 136 条
- 1
- 2
- 3
- 4
- 5
- 6
- 14