# Using real NCHW order when using cuDNN.jl

**URL:** <https://discourse.julialang.org/t/using-real-nchw-order-when-using-cudnn-jl/100842>\
**Category:** GPU\
**Tags:** cuda, cudnn\
**Created:** [June 26, 2023, 1:06pm UTC](https://discourse.julialang.org/t/using-real-nchw-order-when-using-cudnn-jl/100842 "2023-06-26T13:06:27Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![ToucheSir](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/touchesir/32/14411_2.png) [@ToucheSir](https://discourse.julialang.org/u/ToucheSir)\
**Post date:** [June 26, 2023, 11:35pm UTC](https://discourse.julialang.org/t/using-real-nchw-order-when-using-cudnn-jl/100842/2 "2023-06-26T23:35:28Z")

</div>

> [@Jonas208](#):
>
> However, my data is in real NCHW order (not in the opposite order)

Note that NCHW order for a row-major API like cuDNN corresponds to the exact same memory layout as WHCN order for a column-major language like Julia. Thus I’m not exactly sure what constitutes “real” in this context. Perhaps you could provide some more background on why you need to have NCHW order data in Julia, this may be a [XY problem](https://en.wikipedia.org/wiki/XY_problem).

---

_[View the full topic](https://discourse.julialang.org/t/using-real-nchw-order-when-using-cudnn-jl/100842)._
