So, anybody know what this means?
Warning: CUDNN_STATUS_NOT_SUPPORTED; Reason: !rfo->getXDesc()->isNSpatialC_fullyPacked()
I’m guessing it has something to do with packing…of tensors…The docs kinda explain tensor packing (fully/partially/spatially), but it’s not really clear. Here’s my tensor creation code (once again)
void create_tensor_descriptor(cudnnBackendDescriptor_t& desc, int64_t n, int64_t c, int64_t h, int64_t w, int64_t uid)
{
std::cout << "Creating Tensor Descriptor..." << std::endl;
cudnnBackendCreateDescriptor(CUDNN_BACKEND_TENSOR_DESCRIPTOR, &desc);
cudnnDataType_t dtype = CUDNN_DATA_FLOAT;
int64_t alignment = 4;
cudnnBackendSetAttribute(desc, CUDNN_ATTR_TENSOR_DATA_TYPE, CUDNN_TYPE_DATA_TYPE, 1, &dtype);
cudnnBackendSetAttribute(desc, CUDNN_ATTR_TENSOR_BYTE_ALIGNMENT, CUDNN_TYPE_INT64, 1, &alignment);
int64_t xDim[] = { n, c, h, w };
int64_t xStr[] = { c * h * w, h * w, w, 1 };
cudnnBackendSetAttribute(desc, CUDNN_ATTR_TENSOR_DIMENSIONS, CUDNN_TYPE_INT64, 4, &xDim);
cudnnBackendSetAttribute(desc, CUDNN_ATTR_TENSOR_STRIDES, CUDNN_TYPE_INT64, 4, &xStr);
cudnnBackendSetAttribute(desc, CUDNN_ATTR_TENSOR_UNIQUE_ID, CUDNN_TYPE_INT64, 1, &uid);
cudnnBackendFinalize(desc);
}
Any thoughts, or is this forum dead?
-Chris