Parallelizing POMDPs.jl code on GPU #454
Replies: 1 comment 6 replies
-
Hmm... we haven't tried too much of POMDPs.jl out on GPUs, but QuickPOMDPs objects are probably not very suitable for it since the data structure itself wraps a bunch of functions. It should, however, be possible to run a POMDP model defined using the object-oriented method (https://juliapomdp.github.io/POMDPs.jl/stable/def_pomdp/#Object-oriented) on a GPU. Are you actually trying to run POMCP on a GPU or are you just trying to simulate the POMDP or do something simpler? The error messages seem to suggest that your kernel is trying to allocate memory. I do not think it is possible to run the current BasicPOMCP solver in a GPU kernel since it allocates memory. Let us know what you're trying to accomplish on the GPU, and we can help you figure out how to move forward! |
Beta Was this translation helpful? Give feedback.
-
Hi,
I have defined a POMDP using the QuickPOMDPs interface and am solving it using the BasicPOMCP solver. My code is easily parallelizable as I am doing the same procedure for different values sequentially. However, when I tried writing a GPU kernel for the same, I got lots of errors of the form : unsupported call through a literal pointer (call to ijl_alloc_string), unsupported call through a literal pointer (call to ijl_string_to_array), etc.
How do I solve this error? I am currently using colab for running this code.
Beta Was this translation helpful? Give feedback.
All reactions