Allow index expression for indexed domain kernel
2 unresolved threads
2 unresolved threads
Files
3@@ -72,9 +72,11 @@ def create_cuda_kernel(assignments: NodeCollection, config: CreateKernelConfig):
When creating an indexed domain kernel, using a single TypedSymbold is the only possibility. This MR the previous restriction and allows to use an expression that is depended on a single symbol
atoms()
returns aset
, no need to convert tolist
.changed this line in version 2 of the diff
The reason I converted it to a list is because I needed the single element that is in the list. I did this with
index[0]
. I left it as a set now and us thepop
method to get my parameter.