2 problems with cuDPP

i now have 2 problems with cuDPP:

  1. after defined :

    CUDPPConfiguration config;

    config.algorithm = CUDPP_SCAN;

    config.datatype = CUDPP_UCHAR;

    config.op = CUDPP_ADD;

    config.options = CUDPP_OPTION_FORWARD | CUDPP_OPTION_EXCLUSIVE;

the cudppPlan call crash and have no CUDPPResult return. :mellow:

2)when i run cudppScan function in kernel, i get an error:

error: calling a host function from a device/global function is only allowed in device emulation mode. :mellow:

why? and is there any solutions?

thank you:)

cuDPP version: in CUDA2.0 Beta;

hardware: 8800gts 320M;