OS: Snowleopard
Cuda: version 4.1
In cuda_runtime_api.h:
extern host cudaError_t CUDARTAPI cudaPointerGetAttributes(struct cudaPointerAttributes *attributes, const void *ptr);
but on website: http://developer.download.nvidia.com/compute/DevZone/docs/html/C/doc/html/group__CUDART__UNIFIED_gccb4831aa37562c0af3e6b6712e0f12c.html
cudaError_t cudaPointerGetAttributes ( struct cudaPointerAttributes * attributes,
void * ptr
)
Openmpi 1.5.5 is using the website api, thus giving a conflict at compilation. Please revise the file, or the api standard.
Why is there a const in the file, but not in the declared API?