CUDA 5.0:替换cutil.h? [英] CUDA 5.0: Replacement for cutil.h?

查看:215
本文介绍了CUDA 5.0:替换cutil.h?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想使用新的CUDA 5.0编译一个旧项目(基于CUDA 2.3)
不幸的是,它使用了旧的cutil.h头,这在CUDA 5.0中不再提供。

I want to compile an old project (based on CUDA 2.3) with the new CUDA 5.0 Unfortunately it makes use of the old cutil.h header, which is not available in CUDA 5.0 anymore.

这个标题有没有替代?

特别是缺少图像输出功能(PPM,PGM)例如cutSavePGMf()...

Especially the image im- and export functions (PPM, PGM) are missing, e.g. cutSavePGMf()...

推荐答案

是的,在新的SDK示例中有一个替换。
在前面的问题中已经讨论过了:
CUDA5示例:有人将一些cutil定义翻译为CUDA5吗?

Yes, there is a replacement in the new SDK Examples. It has been covered in a previous question: CUDA5 Examples: Has anyone translated some cutil definitions to CUDA5?

这篇关于CUDA 5.0:替换cutil.h?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆