The Absurdity of Error Handling## +23 ## The Absurdity of Error Handling: Finding a Purpose for Errors in Safety-Critical SYCL ## ERIK TOMUSK ## codeplay $ ^{®} $ Enabling AI & HPC To Be Open, Safe & Accessible To All personal capacity, unless explicitly stated ## Outline • Definition of Safety • Definition of Error Handling • Case Study • Why is this Important? • Is it Really so bad? • What does this mean for SYCL Safety: Unbounded execution time (in mainstream compilers) ## Definition of Error Handling ## Definition of Error Handling Error: An unintended occurrence • Various means to communicate the presence of0 码力 | 43 页 | 1.39 MB | 1 年前3
GPU Resource Management On JDOS## GPU Resource Management On JDOS 梁永清 liangyongqing1@jd.com ## 提供的服务 ## Experiment ## Training 1. 用于实验的 GPU 容器 2. 基于 Kubeflow 的机器学习训练服务 3. 模型管理和模型 Serving 服务 ## Serving 均基于容器,不对业务方直接提供 GPU 物理机0 码力 | 11 页 | 13.40 MB | 1 年前3
Message Handling with Boolean Algebra# Message Handling # with Boolean Algebra  Ben Deane / CppCon / 2024-09-16 ## Alternative Title "The Unreasonable Effectiveness of Boolean Algebra in Software Design, Showing the Particular Application of a Message Handling Library, with an Excursion into the Roots of Programming" ## Frontmatter No AI/LLM was used • SVG diagrams for resolution-independence ## What this talk is about The workings of a message-handling library. • How messages and the fields in them are specified. • Efficiently identifying (with0 码力 | 103 页 | 4.37 MB | 1 年前3
Modern C++ Error Handling## +24 ## Modern C++ Error Handling ## PHIL NASH ## 20 24 September 15 - 20 ## Modern C++ Error Handling Phil Nash  ## Correct-by-construction ## Preconditions Throwing violation-handler No noexcept ## Modern C++ Error Handling Phil Nash 0 码力 | 66 页 | 36.65 MB | 1 年前3
1.6 resource scheduling & container technology for financial service_yujun# 动态资源管理和容器技术 在金融行业的架构探索和明天 ## Resource Scheduling & Container Technology for Financial Service 余军 Gopher China 2015 ## 关于我 ☐ ~19y+ Linux & opensource experience ☐ Co-founder of Shanghai p14_2.jpg) ## Algorithm 1 DRF pseudo-code $R = \langle r_{1}, \cdots, r_{m} \rangle$ ▷ total resource capacities $C = \langle c_{1}, \cdots, c_{m} \rangle$ ▷ consumed resources, initially 0 $s_{i}$ \max_{j=1}^{m} \{ u_{i,j} / r_{j} \}$ else return ▷ the cluster is full end if ① Mesos 采用了DRF(Dominant Resource Fairness) 调度机制。YARN自带FIFO、Capacity Scheduler和Fair Scheduler(借鉴了Mesos的DRF)。 ② Mesos中的DRF调度算法过分的0 码力 | 21 页 | 27.20 MB | 2 年前3
Compile-Time Compression and Resource Generation with C++20## +21 ## Compile-Time Compression and Resource Generation with C++20 ## ASHLEY ROLL 20 21 October 24-29 ## I ntroduction Explore how C++20's constexper features can: • Generate data from code that take a user-supplied lambda to generate the data needed to render our desired compile-time resource! - These are effectively templated functions, but we will use the cleaner auto parameter syntax0 码力 | 59 页 | 1.86 MB | 1 年前3
Using Kubernetes for handling second screen experience of european tv show## for handling second screen experience of european tv show ## About us Key Qualifications • 12+ years' experience with development and operations • Automating everything • Been handling Kubernetes0 码力 | 28 页 | 3.86 MB | 1 年前3
Design patterns for error handling in C++ programs using parallel algorithms and executors# Design patterns for error handling in C++ programs using parallel algorithms and executors Mark Hoemmen $ ^{*} $ mhoemmen@stellarscience.com CppCon 2020 * hou'màn, or hœm'màn; he/him ## ee0299c99c9863eccaad23c8c/p2_2.jpg) Eschew raw pointers ## Outline • Parallelism makes error handling harder... • ...C++ parallel algorithms and tasks specifically • Message Passing Interface (MPI): Jurvetson) ## Parallel hinders error handling • ... because parallelism relaxes execution order – Deliberately, to improve performance • Errors interrupt execution; handling constrains order • Errors could0 码力 | 32 页 | 883.27 KB | 1 年前3
Introducing Apache Wicketjava| ||HomePage.html| ||HomePage.java| - In Wicket we can use page classpath to put any kind of resource, not just HTML (pictures, properties file, etc...) ### The web.xml file ## APACHE WICKET $ ^{™} ## Wicket links ## APACHE 😜 WICKET ™ - In HTML a link is basically a pointer to another resource that most of the time is another page. Wicket implements links with component org.apache.wicket https://wicket.apache.org/learn/#guide ## APACHE WICKET $ ^{™} $ ## Resource handling ## Resource handling ## APACHE 😜 WICKET ™ • With “resource” we indicate both static resources (such as JS and CSS files)0 码力 | 53 页 | 1.85 MB | 2 年前3
Flask-RESTful Documentation
Release 0.3.7flask_restful import Resource, Api app = Flask(__name__) api = Api(app) class HelloWorld(Resource): def get(self): return {'hello': 'world'} api.add_resource(HelloWorld, '//') defining methods on your resource. A basic CRUD resource for a todo application (of course) looks like this: from flask import Flask, request from flask_restful import Resource, Api app = Flask(__name__) Flask(__name__) api = Api(app) todos = {} class TodoSimple(Resource): def get(self, todo_id): return {todo_id: todos[todo_id]} def put(self, todo_id): todos[todo_id] = request.form['data']0 码力 | 50 页 | 253.09 KB | 2 年前3
共 1000 条
- 1
- 2
- 3
- 4
- 5
- 6
- 100
相关搜索词
错误处理功能安全异常处理执行时间错误定义GPU资源管理Kubeflow分布式训练GPU监控JDOSBoolean algebramessage handlingmatchersexpression templatesconstraint expressionsstd::expectedstd::optionalmonadic operationsparse_interror handlingMesosYARNDRF分布式平台管理金融行业架构constexprC++20lookup tablesconfiguration fusesUSB descriptorsKubernetesDocker第二屏体验PrometheusScalingC++并行算法MPImodelsformscomponent-oriented frameworkresource handlingApache WicketFlask-RESTfulResourceHTTP methodsRequest parsingCustom error handling













