Draft: feat: implement `__cuda_array_interface__`
Compare changes
+ 44
− 13
@@ -2,17 +2,19 @@ import numpy as np
@@ -32,8 +34,9 @@ def make_python_function(kernel_function_node, argument_dict=None, custom_backen
@@ -42,17 +45,23 @@ def make_python_function(kernel_function_node, argument_dict=None, custom_backen
@@ -78,13 +87,19 @@ def make_python_function(kernel_function_node, argument_dict=None, custom_backen
@@ -95,7 +110,15 @@ def _build_numpy_argument_list(parameters, argument_dict):
@@ -136,6 +159,14 @@ def _check_arguments(parameter_specification, argument_dict):
@@ -147,7 +178,7 @@ def _check_arguments(parameter_specification, argument_dict):
should be an enum or maybe and autoselect if cupy installed but pycuda not
changed this line in version 4 of the diff