Skip to content

Conversation

bauom
Copy link
Collaborator

@bauom bauom commented Sep 5, 2023

A copy PR from pyccel#1236

For now in copy_CudaArray_Data the cudaMemcpyKind field of cudaMemcpy is hardcoded, this PR aims to make it so that field can be deduced from the variable's memory location and the current context of the function, as well as other fixes to make array creation in cuda easier.

  • Fixes compilation issues caused by the previous cuda_memcopy PR.
  • Raise an error when creating a Host array in Device function.
  • Create temporary variable when using numpy.array, cuda.array, cupy.array calls as arguments.

Pinkyboi and others added 30 commits November 18, 2022 13:02
@bauom bauom requested a review from EmilyBourne as a code owner September 5, 2023 10:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants