is cudaarray only accessesible through texture

Can i get the value of a cudaarray like array_u without the texture referrence,
that means to directly get the value by forms of array[1][2] or array[0][0], but there is error using this,

so how to use these directly forms to get the correct value???


No, cudaArrays are in a special format and accessible only via the texture lookup functions. If you want to read it directly as an array, allocate using a regular cudaMalloc.