WebCL™ Kernel Validator Request for Quotations

Notice ALL KHRONOS SPECIFICATIONS AND OTHER DOCUMENTS (TOGETHER AND SEPARATELY, “MATERIALS”) ARE BEING PROVIDED “AS IS.” KHRONOS MAKES NO WARRANTIES, EXPRESSED, IMPLIED, STATUTORY OR OTHERWISE WITH RESPECT TO THE MATERIALS, AND EXPRESSLY DISCLAIMS ALL IMPLIED WARRANTIES OF NONINFRINGEMENT, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. Information furnished is believed to be accurate and reliable. However, Khronos assumes no responsibility for the consequences of use of such information or for any infringement of patents or other rights of third parties that may result from its use. No license is granted by implication or otherwise under any patent or patent rights of Khronos. Specifications mentioned in this publication are subject to change without notice. This publication supersedes and replaces all information previously supplied. Trademarks Khronos, WebCL and WebGL, and associated logos are trademarks or registered trademarks of Khronos Group Inc. OpenCL is a trademark of Apple Inc. and used under license by Khronos. All other product names, trademarks, and/or company names are used solely for identification and belong to their respective owners. Copyright © 2013 The Khronos Group All rights reserved.

WebCL RFQ

Page 1 of 9

1.

Background

The WebCL™ API is designed with security as a primary requirement. The Validator is a security tool to enforce compliance of WebCL™ kernels with the defined WebCL™ language restrictions, and prevent out of bounds memory accesses. The WebCL™ kernel Validator will enforce out of bounds memory protection and perform syntactic validation of WebCL™ kernels.

2.

Requirements

The project will deliver the design, implementation and documentation for a Validator for WebCL™ kernels. The Validator will take WebCL™ kernels as input, and generate validated OpenCL™ kernels as output, effectively acting as a WebCL-C source to OpenCL-C source trans-compiler. The validator will analyze the input WebCL™ kernels to determine violations of WebCL™ kernel behavior and language restrictions. The results from the analysis will also be used to determine any necessary instrumentation to bring the WebCL™ kernels in compliance with security and syntactic requirements of the WebCL™ API.

WebCL C Kernels

3.

Parse Validate, Instrument, Bounds Checking

Instrumented & Validated OpenCL C

OEM OpenCL Compiler

Deliverables and Acceptance Criteria

The scope of the WebCL™ kernel Validator project will include the following functionalities and deliverables: A. Parsing/Syntactic and Semantic Validation consisting of a compiler front end for the C-99 based WebCL™  kernels. During this validation process, the C code is converted to an abstract syntax tree, and syntactic validation is undertaken to check for robustness. Syntax and semantic validation will provide list of error messages.     B. Analysis and Instrumentation involves static analysis of dynamic memory accesses, to find potential out of bounds memory accesses. Abstract syntax tree is instrumented for range checking. C. Translation from abstract syntax tree, to instrument the resulting OpenCL-C. D. Unit tests used to test the instrumented code, to ensure correctness of functionality, and conformance to secure coding practices. WebCL RFQ

Page 2 of 9

4.

Recommended Approach

Recommended approaches for each of the aspects are noted below. A. Parsing/Syntactic and Semantic Validation involves compiler front end for the C-99 based WebCL kernels. A recommended approach is noted below: •

C99 based approach: i. Using Clang, which currently has partial OpenCL™  support: ii. Start from Clang (using flags during compilation for extensions to enable OpenCL™  support for OpenCL™  vector types).

v Estimated maximum duration; 7 weeks B. Analysis & Instrumentation: • Abstract Syntax Tree (AST)-based analysis: • Analysis checks, consisting of static checks and modification of AST. v Estimated maximum duration: 6 weeks C. Translation: Abstract Syntax Tree (AST) to OpenCL C conversion/translation. v Estimated maximum duration: 4 weeks D. Unit tests for testing the modifications made (through instrumentation) by the validator, for conformance. v Estimated maximum duration: 3 weeks

WebCL RFQ

Page 3 of 9

WebCL C Kernel

(1) Syntax analysis and AST generationWebCL C Front

AST (2) AST analysis passes for arrays, pointers, etc.

End

AST

Validator supplied parts

(3) Translation: AST to OpenCL C translator Analyzed, validated WebCL Kernel

5.

High Level Design

The WebCL C Front End will consist of a modified Clang front end. It will take WebCL™ kernels as input, and will perform the following functions. The output will be an AST: • • • •

Static analysis; Dynamic analysis; Fat pointer creation and checking; Array bounds checking.

Following is the summary of the WebCL™ security requirements and behavioral restrictions, which the validator will verify and enforce: • • • • •

WebCL RFQ

Pointer casting Pointer clamping Index clamping Memory initialization (zeroing memory) Reject any vendor-specific or otherwise non-portable features

Page 4 of 9

WebCL RFQ

Page 5 of 9

WebCL RFQ

Page 6 of 9

6.

Project Scoping and Priorities

We hope to achieve complete feature set implementation, testing and documentation, with a scoping estimate of no more than 20 man weeks.

7.

Schedule & Checkpoints

Below are the suggested project milestones. We will assess progress on a bi-weekly basis, so the feature coverage timeline below is only a rough guideline to the order in which we expect to have validator and tests written. Please provide detailed milestone dates that you can commit to delivering, using the format noted in section 8.

8.

§

April 12, 2013: Contractor selection and start of work;

§

Completion of "Parsing" feature, and delivery of accompanying software and documentation.

§

Completion of "Syntactic and Semantic Validation" functionality, and delivery of accompanying software and documentation.

§

Completion of "Analysis and Instrumentation" related features, and delivery of accompanying software and documentation.

§

Completion of "Translation", and delivery of accompanying software and documentation.

§

Completion of Unit Testing and "Validator Conformance Tests". Delivery of complete feature set and documentation and release Validator version 1.0 to public

Milestone Details

RFQ respondents should provide detailed milestone plan that they can meet, according to the resources they are able to apply, and to bid an amount to compete. Details related to the milestones, inclusive of description and design, implementation details, and proposed start and end dates for each milestone should be provided. Parsing/Syntactic and Semantic Validation (Compiler front end for the C-99 based WebCL™ kernels) Description and Design Implementation Details:

WebCL RFQ

Page 7 of 9

Start Date

End Date

Analysis & Instrumentation (AST-based)

Start Date

End Date

Start Date

End Date

Start Date

End Date

Description and Design: Implementation Details:

Translation (AST to OpenCL C conversion) Description and Design: Implementation Details:

Unit Tests (Test Plan and Unit Tests for Conformance Testing) Description and Design: Implementation Details:

9.

Khronos Contractor Agreement

Contractors wishing to respond to this RFQ that are not Khronos members and require access to Khronos confidential information will be required to executed the standard Khronos membership agreement (with membership fees waived) to gain access to confidential materials for the sole purpose of responding to this RFQ. The selected contractor will be required to execute the standard Khronos Contactors Agreement with milestones and costs entered into Exhibit B and Contractor Disclosures entered into Exhibit C. No work shall begin, and Khronos shall be liable for no costs or expenses, until the selected contractor is in receipt of an executed contractor’s agreement. It is important that contractors understand that we will be assessing progress on a regular basis, and we reserve the right to terminate or renegotiate the contract in the event insufficient progress is being made. WebCL RFQ

Page 8 of 9

10.

RFQ Responses

The RFQ response materials will form the basis for detailed milestone and cost negotiations for the final contract with the selected vendor or vendors. Please provide the following information in the format of your choice: •

Identification of deliverables on which you wish to bid;



Proposed schedule, highlighting any differences from the suggested milestones in Section 7, using the format noted in section 8;



The hourly cost for engineering resources from your company, the minimum and maximum number of hours you can commit to this project on a bi-weekly basis, and a description of the qualification of the engineering resource(s) which would be used;



The total project cost to Khronos;



A description of your familiarity (if any) with WebCL™, and CLang, and of any test development you have previously performed related to WebCL™, OpenCL™ and/or WebGL™,



An indication you are willing to work under the Khronos Contractor Agreement;



Any particular issues or risk factors that you wish to highlight;



Supporting materials, including background materials about your company, highlighting other relevant experience and expertise for this project.

WebCL RFQ

Page 9 of 9

Request For Quote for a WebCL Kernel Validator - Khronos Group

Khronos, WebCL and WebGL, and associated logos are trademarks or registered trademarks of Khronos Group Inc. OpenCL is a trademark of Apple Inc.

4MB Sizes 1 Downloads 264 Views

Recommend Documents

WebCL™ Kernel Validator Request for Quotations - Khronos Group
... are trademarks or registered trademarks of Khronos Group Inc. OpenCL is a trademark .... or renegotiate the contract in the event insufficient progress is being.

FINAL REQUEST FOR QUOTE - Dec. 12, 2016.pdf
Highest quality educational opportunities for our taxpayers' generous investment. Page 3 of 7. FINAL REQUEST FOR QUOTE - Dec. 12, 2016.pdf.

Request for Quote Corporate Strategic Plan review April 2018.pdf ...
well as Townsville, Charters Towers, Greenvale, Ayr, Home Hill, Bowen, Collinsville. and Alpha. b. Since 2003, the organisation has played a significant role in the delivery of natural. resource management programs, mostly funded by state and federal

OpenGL ES Next - Khronos Group
OpenGL ES Working Group plans to release a new version of OpenGL ES in 2014. • The main features of the new API are: - Backward compatibility with ...

OpenCL Quick Reference Card - Khronos Group
for high-performance compute servers, desktop ... cl_int clReleaseProgram (cl_program program) ... cl_int clGetProgramBuildInfo (cl_program program,.

COLLADA Conformance Test Suite and ... - Khronos Group
best solution for developers with regard to COLLADA. The WG agreed ... COLLADA Conformance Test Suite (CTS) should support OpenCOLLADA plugins for. MAX and ... MAYA plugins based on Feeling software FCOLLADA API. The core ...

COLLADA Conformance Test Suite and ... - Khronos Group
Other company and product names may be trademarks of the respective ... MAYA plugins based on Feeling software FCOLLADA API. .... Budget: $15K (US) ... framework, and of any test development you have previously performed in this.

Network Working Group W. Kumari Request for Comments: 5635 ...
having all destinations on their network be affected by the attack, the customer may ask their service provider to filter traffic destined to the target destination IP address(es), or the service provider may determine that this is necessary themselv

OpenGL 4.00 API Quick Reference Card - Khronos Group
Mar 9, 2010 - GL commands are formed from a return type, a name, and optionally up to 4 characters. (or character pairs) from the Command ..... Pixel Transfer Modes [3.7.3, 6.1.3] ...... value: ORDER, COEFF, DOMAIN. Selection [5.2].

Request for Proposal - Ning
Sep 3, 2013 - Synopsis: Enhancing Mobile Populations' Access to HIV and AIDS Services, Information and. Support a 5 year project funded by Big Lottery ...

Khronos Group is soliciting quotations to implement OpenVX ...
Apr 7, 2014 - ALL KHRONOS SPECIFICATIONS AND OTHER DOCUMENTS (TOGETHER AND ... tests should be analyzed during the course of the project and the ... conformance tests or any test development related to computer vision;.

OpenGL 4.1 API Quick Reference Card - Khronos Group
d - double (64 bits). OpenGL®is the only cross-platform graphics API that enables developers of software for. PC, workstation, and supercomputing hardware to ...

request for proposal - AOS92
Feb 26, 2015 - We are currently reducing the number of small printers in our inventory, so any proposal must be able to adjust based on future changes in printer inventory. The AOS92 computing environment consists of approximately 2,000 devices inclu

request for proposal - AOS92
Feb 26, 2015 - In the event taxes are imposed on the services purchased, the District will not be responsible for payment of the taxes. The vendor shall absorb the taxes entirely. Upon request, the District's Tax Exempt Certificate will be furnished.

OpenVG 1.1 API Quick Reference Card - Page 1 - Khronos Group
startAngle and angleExtent parameters are given in degrees, ... c(csrc, cdst, αsrc, αdst); Pre-mult alpha form c'(αsrc * csrc, αdst * cdst, αsrc, αdst) = c'(c'src, c'dst, ...

OpenGL 4.1 API Quick Reference Card - Khronos Group
OpenGL®is the only cross-platform graphics API that enables developers of software ... For brevity, the OpenGL documentation and this reference may omit the ...

(a)khronos ((di-)a-)khronos.pdf.vvv
Connect more apps... Try one of the apps below to open or edit this item. (a)khronos ((di-)a-)khronos.pdf.vvv. (a)khronos ((di-)a-)khronos.pdf.vvv. Open. Extract.

Request for Proposal - Care Nepal
Support a 5 year project funded by Big Lottery Fund, UK, is seeking a consultant / organization to produce a video documentary on role of EMPHASIS in ...

Request for records.pdf
There was a problem previewing this document. Retrying... Download. Connect more apps... Try one of the apps below to open or edit this item. Request for ...

Request for Quotation.pdf
Page 1 of 1. Abso Rental Services ǁ Film and Event Supplies. Request for Quotation Form. ABSO RENTAL SERVICES INC. tel 416-255-FILM (3456) fax ...

Request for Proposal - Care Nepal
Synopsis: Enhancing Mobile Populations' Access to HIV and AIDS Services, Information ... Proven experience in making documentaries on development issues.

REQUEST FOR RECYCLING CONTAINER(S)
Legal owner will be responsible for recycling container(s). If lost or stolen, responsible party will be billed for them on the next Sanitation billing @$35.00 per ...

PCMC Recruitment 2017 For Group A & Group [email protected] ...
GovNokri.in. Page 3 of 7. PCMC Recruitment 2017 For Group A & Group [email protected]. PCMC Recruitment 2017 For Group A & Group [email protected].

PCMC Recruitment 2017 For Group A & Group [email protected] ...
GovNokri.in. Page 3 of 7. PCMC Recruitment 2017 For Group A & Group [email protected]. PCMC Recruitment 2017 For Group A & Group [email protected].