红外目标识别系统中 ,需要实时采集红外传感器的图像数据。本文描述了一种基于 CPCI总线的红外图像数据采集卡。此卡采用 CPCI总线控制器中 F IF O通道的 DMA方式进行高速图像数据传输 ,保证了数据传输的实时性和准确性 ,满足了系统对...红外目标识别系统中 ,需要实时采集红外传感器的图像数据。本文描述了一种基于 CPCI总线的红外图像数据采集卡。此卡采用 CPCI总线控制器中 F IF O通道的 DMA方式进行高速图像数据传输 ,保证了数据传输的实时性和准确性 ,满足了系统对大数据量的存储要求。此采集电路对于多种红外传感器具有良好的兼容性 ,在实地采集数据中得到了良好的原始红外图像数据。展开更多
The API interfaces provided by CUDA help programmers to get high performance CUDA applications in GPU, but they cannot support most I/O operations in device codes. The characteristics of CUDA's mapped memory are used...The API interfaces provided by CUDA help programmers to get high performance CUDA applications in GPU, but they cannot support most I/O operations in device codes. The characteristics of CUDA's mapped memory are used here to create a dynamic polling service model in the host which can satisfy most I/O functions such as read/write file and "printf". The technique to implement these I/O functions has some influence on the performance of the original applications. These functions quickly respond to the users' I/O requirements with the "printf" performance better than CUDA's. An easy and effective real-time method is given for users to debug their programs using the I/O functions. These functions improve productivity of converting legacy C/C++ codes to CUDA and broaden CUDA's functions.展开更多
基金supported in part by the National High-Tech Research and Development(863)Program(No.2012AAO10903)
文摘The API interfaces provided by CUDA help programmers to get high performance CUDA applications in GPU, but they cannot support most I/O operations in device codes. The characteristics of CUDA's mapped memory are used here to create a dynamic polling service model in the host which can satisfy most I/O functions such as read/write file and "printf". The technique to implement these I/O functions has some influence on the performance of the original applications. These functions quickly respond to the users' I/O requirements with the "printf" performance better than CUDA's. An easy and effective real-time method is given for users to debug their programs using the I/O functions. These functions improve productivity of converting legacy C/C++ codes to CUDA and broaden CUDA's functions.