1*4882a593SmuzhiyunCopyright (c) 2016 The Khronos Group Inc. 2*4882a593Smuzhiyun 3*4882a593SmuzhiyunPermission is hereby granted, free of charge, to any person obtaining a copy 4*4882a593Smuzhiyunof this software source and associated documentation files (the "Materials"), 5*4882a593Smuzhiyunto deal in the Materials without restriction, including without limitation 6*4882a593Smuzhiyunthe rights to use, copy, modify, compile, merge, publish, distribute, 7*4882a593Smuzhiyunsublicense, and/or sell copies of the Materials, and to permit persons to 8*4882a593Smuzhiyunwhom the Materials are furnished to do so, subject the following terms and 9*4882a593Smuzhiyunconditions: 10*4882a593Smuzhiyun 11*4882a593SmuzhiyunAll modifications to the Materials used to create a binary that is 12*4882a593Smuzhiyundistributed to third parties shall be provided to Khronos with an 13*4882a593Smuzhiyununrestricted license to use for the purposes of implementing bug fixes and 14*4882a593Smuzhiyunenhancements to the Materials; 15*4882a593Smuzhiyun 16*4882a593SmuzhiyunIf the binary is used as part of an OpenCL(TM) implementation, whether binary 17*4882a593Smuzhiyunis distributed together with or separately to that implementation, then 18*4882a593Smuzhiyunrecipient must become an OpenCL Adopter and follow the published OpenCL 19*4882a593Smuzhiyunconformance process for that implementation, details at: 20*4882a593Smuzhiyunhttp://www.khronos.org/conformance/; 21*4882a593Smuzhiyun 22*4882a593SmuzhiyunThe above copyright notice, the OpenCL trademark license, and this permission 23*4882a593Smuzhiyunnotice shall be included in all copies or substantial portions of the 24*4882a593SmuzhiyunMaterials. 25*4882a593Smuzhiyun 26*4882a593SmuzhiyunTHE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 27*4882a593SmuzhiyunIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 28*4882a593SmuzhiyunFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 29*4882a593SmuzhiyunAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 30*4882a593SmuzhiyunLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 31*4882a593SmuzhiyunOUT OF OR IN CONNECTION WITH THE MATERIALS OR THE USE OR OTHER DEALINGS IN 32*4882a593SmuzhiyunTHE MATERIALS. 33*4882a593Smuzhiyun 34*4882a593SmuzhiyunOpenCL is a trademark of Apple Inc. used under license by Khronos. 35*4882a593Smuzhiyun 36