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

GitHub | Jajawah | 8 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Cuda MemcpyAsync failed

    GitHub | 8 months ago | Jajawah
    java.lang.IllegalStateException: MemcpyAsync failed: AllocationShape(offset=0, length=256, stride=1, elementSize=8, dataType=DOUBLE)
  2. 0

    GitHub comment 350#274371695

    GitHub | 3 months ago | archenroot
    java.lang.IllegalStateException: MemcpyAsync failed: AllocationShape(offset=0, length=20, stride=1, elementSize=4, dataType=FLOAT)

    Root Cause Analysis

    1. java.lang.IllegalStateException

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

      at org.nd4j.jita.flow.impl.SynchronousFlowController.synchronizeToHost()
    2. org.nd4j.jita
      AtomicAllocator.synchronizeHostData
      1. org.nd4j.jita.flow.impl.SynchronousFlowController.synchronizeToHost(SynchronousFlowController.java:56)
      2. org.nd4j.jita.handler.impl.CudaZeroHandler.synchronizeThreadDevice(CudaZeroHandler.java:1162)
      3. org.nd4j.jita.allocator.impl.AtomicAllocator.synchronizeHostData(AtomicAllocator.java:309)
      3 frames
    3. org.nd4j.linalg
      BaseCudaDataBuffer.asDouble
      1. org.nd4j.linalg.jcublas.buffer.BaseCudaDataBuffer.asDouble(BaseCudaDataBuffer.java:822)
      1 frame