CUDA 3.2RC2内核中使用malloc

在官方看到
CUDA 3.2RC2中有一项"Miscellaneous

Support for malloc() and free() in CUDA C compute kernels
NVIDIA System Management Interface (nvidia-smi) support for reporting % GPU busy, and several GPU performance counters
"
于是写了个内核如下
global
void hello(char *a, int *b)
{
a[threadIdx.x] += b[threadIdx.x];
Point p=(Point)malloc(sizeof(Point));
free(p);

}

结果就是error: calling a host function from a device/global function is not allowed
不是说明在内核中支持了嘛?!

从手册中看,应该只支持2.0以后的设备

我在gtx 460上测试没有问题

是规则文件有些旧,谢

请问什么回事啊?我也是一样,需要用牛B的显卡吗?我的9800.

你的卡不支持吧

感觉program guide没说要2.0以上啊 how about printf?

thx!