/** * Destroys a surface object. * * <pre> * cudaError_t cudaDestroySurfaceObject ( * cudaSurfaceObject_t surfObject ) * </pre> * <div> * <p>Destroys a surface object. Destroys the * surface object specified by <tt>surfObject</tt>. * </p> * </div> * * @param surfObject Surface object to destroy * * @return cudaSuccess, cudaErrorInvalidValue * * @see JCuda#cudaCreateSurfaceObject */ public static int cudaDestroySurfaceObject(cudaSurfaceObject surfObject) { return checkResult(cudaDestroySurfaceObjectNative(surfObject)); } private static native int cudaDestroySurfaceObjectNative(cudaSurfaceObject surfObject);
/** * Destroys a surface object. * * <pre> * cudaError_t cudaDestroySurfaceObject ( * cudaSurfaceObject_t surfObject ) * </pre> * <div> * <p>Destroys a surface object. Destroys the * surface object specified by <tt>surfObject</tt>. * </p> * </div> * * @param surfObject Surface object to destroy * * @return cudaSuccess, cudaErrorInvalidValue * * @see JCuda#cudaCreateSurfaceObject */ public static int cudaDestroySurfaceObject(cudaSurfaceObject surfObject) { return checkResult(cudaDestroySurfaceObjectNative(surfObject)); } private static native int cudaDestroySurfaceObjectNative(cudaSurfaceObject surfObject);
/** * Destroys a surface object. * * <pre> * cudaError_t cudaDestroySurfaceObject ( * cudaSurfaceObject_t surfObject ) * </pre> * <div> * <p>Destroys a surface object. Destroys the * surface object specified by <tt>surfObject</tt>. * </p> * </div> * * @param surfObject Surface object to destroy * * @return cudaSuccess, cudaErrorInvalidValue * * @see JCuda#cudaCreateSurfaceObject */ public static int cudaDestroySurfaceObject(cudaSurfaceObject surfObject) { return checkResult(cudaDestroySurfaceObjectNative(surfObject)); } private static native int cudaDestroySurfaceObjectNative(cudaSurfaceObject surfObject);
/** * Destroys a surface object. * * <pre> * cudaError_t cudaDestroySurfaceObject ( * cudaSurfaceObject_t surfObject ) * </pre> * <div> * <p>Destroys a surface object. Destroys the * surface object specified by <tt>surfObject</tt>. * </p> * </div> * * @param surfObject Surface object to destroy * * @return cudaSuccess, cudaErrorInvalidValue * * @see JCuda#cudaCreateSurfaceObject */ public static int cudaDestroySurfaceObject(cudaSurfaceObject surfObject) { return checkResult(cudaDestroySurfaceObjectNative(surfObject)); } private static native int cudaDestroySurfaceObjectNative(cudaSurfaceObject surfObject);