fix errors of non-primitive host object when running multiple kernels #171
No reviewers
Labels
No Milestone
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: M-Labs/nac3#171
Loading…
Reference in New Issue
No description provided.
Delete Branch "multiple_kernel_err"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
erroneous program:
under current master branch (
fd4bf12808
) and6d00d4dabb
, the output is something like:under the commit previous to
6d00d4dabb
(baa713a3ca
), the compilation passes, but when runkernel we get error:So I modified
pyid_to_type
andglobal_object_id
to get both the type and the codegen value correctly handled.This patch should fix the errors.. I am not fully confident whether this is completely safe since the cache strategy is a bit complicated, and hence the WIP.
The dirty patch in the attachment also seems to be enough to fix the error but it certainly breaks the caching.
WIP: fix errors of non-primitive object when running multiple kernelsto WIP: fix errors of non-primitive host object when running multiple kernelsWIP: fix errors of non-primitive host object when running multiple kernelsto fix errors of non-primitive host object when running multiple kernelsAfter some more hand-written testings I think this should be fine..