Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
コピーせずにGPUから直接アクセスできるホストにメモリを割り当てる方法はありますか?
CUDAのcudaHostGetDevicePointerのように。
はい、次のいずれかを含むフラグでclCreateBufferを使用します。
どちらがあなたが望むことをします。詳細については、clCreateBufferのマニュアルページをご覧ください。