是否可以直接从gpu访问硬盘? [英] Is it possible to access hard disk directly from gpu?

查看:454
本文介绍了是否可以直接从gpu访问硬盘?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以直接从GPU(CUDA / openCL)访问硬盘/闪存磁盘,并直接从GPU的内存加载/存储内容?

Is it possible to access hard disk/ flash disk directly from GPU (CUDA/openCL) and load/store content directly from the GPU's memory ?

以避免将内容从磁盘复制到内存,然后将其复制到GPU的内存。

I am trying to avoid copying stuff from disk to memory and then copying it over to GPU's memory.

我读了关于Nvidia GPUDirect,但不知道如果它做了我上面解释。它涉及远程GPU内存和磁盘,但我的情况下的磁盘是本地的GPU。

I read about Nvidia GPUDirect but not sure if it does what I explained above. It talks about remote GPU memory and disks but the disks in my case are local to the GPU.

基本思路是加载内容(类似dma的东西) - >做一些操作 - >将内容存储回磁盘(再次以dma方式)。

Basic idea is to load contents (something like dma) -> do some operations -> store contents back to disk (again in dma fashion).

我试图尽可能少地涉及CPU和RAM。

I am trying to involve CPU and RAM as little as possible here.

请随时提供有关设计的任何建议。

Please feel free to offer any suggestions about the design.

推荐答案

这个,'懒惰unpinning'或多或少我想要的。

For anyone else looking for this, 'lazy unpinning' did more or less what I want.

通过以下,看看这是否对你有帮助。

Go through the following to see if this can be helpful for you.

这是指向应用指南的链接, a>和 nvidia文档

Here is a link to an application guide and to nvidia docs.

这篇关于是否可以直接从gpu访问硬盘?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆