OK, it is extremely difficult to formulate a coherent and at the same time generic definition of panpsychism. But suppose we define it as the belief that all parts of matter contain/involve conscious subjectivity. One of the alleged benefits of the position is that it provides a way of accounting for the emergence of consciousness. I assume (do correct me if I am wrong) that one of the main problems in the philosophy of AI is how to distinguish the computational facility of a machine (which may replicate or simulate consciousness) with actual conscious awareness. If we suppose that all matter contains some degree of consciousness, then is there some scope for arguing that computational mindedness=consciousness given that machines are material objects? Is this outlandish? It suspect this logic is faulty. Is it instead perhaps the case that the panpsychist response would be something like "well, yes, but it's not a special case since trees and rocks and all the rest also have consciousness" (on some level, so defined by the panpsychist).
Please note that I am not an adherent of panpsychism, I am just interested in AI at the moment and it occurred to me that there might be some interesting overlap here.