首页> 外国专利> CONTROL FLOW-BASED APPROACH IN IMPLEMENTING EXCEPTION HANDLING ON A GRAPHICS PROCESSING UNIT

CONTROL FLOW-BASED APPROACH IN IMPLEMENTING EXCEPTION HANDLING ON A GRAPHICS PROCESSING UNIT

机译:在图形处理单元中执行异常处理的基于控制流的方法

摘要

A function in source code is processed by a compiler for execution on a graphics processing unit, wherein the function includes an exception handling structure. An exception raising block is converted into a first control flow and an exception handler block is converted into a second control flow. The first control flow includes setting an exception raised indicator and finding an exception handler to process the raised exception. The exception raised indicator remains set until an appropriate exception handler is found. The second control flow includes clearing the exception raised indicator and processing the exception.
机译:源代码中的函数由编译器处理以在图形处理单元上执行,其中该函数包括异常处理结构。异常引发块被转换为第一控制流,并且异常处理程序块被转换为第二控制流。第一控制流程包括设置异常引发指示符和查找异常处理程序以处理引发的异常。引发异常的指示符将保持设置状态,直到找到合适的异常处理程序为止。第二控制流程包括清除异常引发的指示符和处理异常。

著录项

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号