java.lang.IllegalStateException: MemcpyAsync failed: AllocationShape(offset=0, length=256, stride=1, elementSize=8, dataType=DOUBLE)

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via GitHub by Jajawah
, 1 year ago
MemcpyAsync failed: AllocationShape(offset=0, length=256, stride=1, elementSize=8, dataType=DOUBLE)
via GitHub by archenroot
, 10 months ago
MemcpyAsync failed: AllocationShape(offset=0, length=20, stride=1, elementSize=4, dataType=FLOAT)
java.lang.IllegalStateException: MemcpyAsync failed: AllocationShape(offset=0, length=256, stride=1, elementSize=8, dataType=DOUBLE)
at org.nd4j.jita.flow.impl.SynchronousFlowController.synchronizeToHost(SynchronousFlowController.java:56)
at org.nd4j.jita.handler.impl.CudaZeroHandler.synchronizeThreadDevice(CudaZeroHandler.java:1162)
at org.nd4j.jita.allocator.impl.AtomicAllocator.synchronizeHostData(AtomicAllocator.java:309)
at org.nd4j.linalg.jcublas.buffer.BaseCudaDataBuffer.asDouble(BaseCudaDataBuffer.java:822)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.