/** * Returns a String representation of this object. * * @return A String representation of this object. */ @Override public String toString() { return "cublasHandle["+ "nativePointer=0x"+Long.toHexString(getNativePointer())+"]"; } }
/** * Get the handle for the current thread * @return the handle for the current thread */ public cublasHandle getHandle() { cublasHandle handle = handleMap.get(Thread.currentThread().getName()); if(handle != null) return handle; handle = new cublasHandle(); JCublas2.cublasCreate(handle); handleMap.put(Thread.currentThread().getName(),handle); return handle; }
/** * Returns a String representation of this object. * * @return A String representation of this object. */ @Override public String toString() { return "cublasHandle["+ "nativePointer=0x"+Long.toHexString(getNativePointer())+"]"; } }
/** * Returns a String representation of this object. * * @return A String representation of this object. */ @Override public String toString() { return "cublasHandle["+ "nativePointer=0x"+Long.toHexString(getNativePointer())+"]"; } }
/** * Returns a String representation of this object. * * @return A String representation of this object. */ @Override public String toString() { return "cublasHandle["+ "nativePointer=0x"+Long.toHexString(getNativePointer())+"]"; } }