From 4b8c0f088a9bb9cc21e2fddb919b56ece1f95f86 Mon Sep 17 00:00:00 2001 From: Stephan Seitz <stephan.seitz@fau.de> Date: Sun, 24 Nov 2019 15:09:53 +0100 Subject: [PATCH] Lint --- .../framework_integration/texture_astnodes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pystencils_autodiff/framework_integration/texture_astnodes.py b/src/pystencils_autodiff/framework_integration/texture_astnodes.py index 2d91214..785c56d 100644 --- a/src/pystencils_autodiff/framework_integration/texture_astnodes.py +++ b/src/pystencils_autodiff/framework_integration/texture_astnodes.py @@ -198,7 +198,7 @@ cudaMalloc{ndim}Array(&{array}, &channel_desc_{texture_name}, """ + ( {copy_params}.kind = cudaMemcpyDeviceToDevice; cudaMemcpy3D(&{copy_params});""" # noqa elif self._texture.field.ndim == 2: - # noqa: cudaMemcpy2DToArray(cudaArray_t dst, size_t wOffset, size_t hOffset, const void *src, size_t spitch, size_t width, size_t height, enum cudaMemcpyKind kind); + # noqa, cudaMemcpy2DToArray(cudaArray_t dst, size_t wOffset, size_t hOffset, const void *src, size_t spitch, size_t width, size_t height, enum cudaMemcpyKind kind); return f"""cudaMemcpy2DToArray({array}, 0u, 0u, -- GitLab