如何在GPU CUDA上快速排序少量(约100~200)的(~16~位)数字?(How to sort a small amount(around 100~200) of (~16~bit) numbers on GPU CUDA very very fast?)
嗨是我项目的一部分。 关键是我必须对一组数字进行排序(例如100~200 16位数字,数字和位在手前固定)。 我想使用GPU的共享内存在一个块内对此进行排序,作为要求数据无法在中间离线的要求的一部分。
我在GPU上读过一些基数排序,比特排序算法。 但它看起来像是为大量数字而设计的。 我想非常快地对这100~200个数字进行排序
我很感激任何想法/帮助
Hi is part of my project. The key is that I have to sort a array of numbers (say 100~200 16 bits numbers, numbers and bits are fixed before hand). I want to sort this within one block using shared memory of GPU, as part of the requirement the data could not go off-chip in middle.
I have read some radix sorting, bitonic sorting algorithm on GPU. But it looks like they are designed for large amount of numbers. I want to sort this 100~200 numbers very very quickly
I appreciate any idea/help
原文:https://stackoverflow.com/questions/21537495
最满意答案
我有一个类似的问题,你尝试使用图而不是浮动。 对于我的我需要将图的CanDelayPlacement设置为false。
I had a similar issue, have you tried using a Figure instead of a Floater. For mine I needed to set the Figure's CanDelayPlacement to false.
相关问答
更多-
TCP/IP模型是一个________。[2023-10-02]
a -
是的,在打印之前制作一份FlowDocument的副本。 这是因为分页和边距会有所不同。 这对我有用。 private void DoThePrint(System.Windows.Documents.FlowDocument document) { // Clone the source document's content into a new FlowDocument. // This is because the pagination for the ...
-
下列中不属于面向对象的编程语言的是?[2022-05-30]
a -
FlowDocument强制一个PageBreak(BreakPageBefore)(FlowDocument Force a PageBreak (BreakPageBefore))[2022-04-14]
如果我明白你想要这样做: Section section = new Section(); section.BreakPageBefore = true; section.Blocks.Add(table1); flowDoc.Blocks.Add(section); 如果你想在一张桌子内打破,我建议制作一张新桌子会更好。 If I understand right you want to do this: Section section = new Section(); section.BreakPag ... -
它不是你想要的,但你可以做类似的事情Flow Document架构使用Windows Presentation Foundation的命名空间。 您可以在C:\Program Files (x86)\Microsoft Visual Studio 10.0\Xml\Schemas找到XSD(根据Visual Studio版本的不同,位置可能略有不同)。 它被称为wpfe.xsd 。 但是,我找不到FlowDocument或其他定义的元素。 事实上,我无法在那里定义的任何XSD中找到它,所以这并没有什么帮助。 Microsoft将本文档中的目标 ...我有一个类似的问题,你尝试使用图而不是浮动。 对于我的我需要将图的CanDelayPlacement设置为false。 I had a similar issue, have you tried using a Figure instead of a Floater. For mine I needed to set the Figure's CanDelayPlacement to false.你可以试试这些链接上的答案: http://social.msdn.microsoft.com/Forums/da-DK/wpf/thread/e805c8e2-1905-459d-86b4-b14a7d7456b9 或stackoverflow答案: 如何让FlowDocument超链接启动浏览器并转到WPF应用程序中的URL? you might try the answer on these links: http://social.msdn.microsoft.com/Forums/da-DK/wp ...我没有找到自动执行此操作的方法。 但以下工作: 保留TOC的页面 构建剩余的文档 将TOC插入保留页面并循环其余部分并逐行生成TOC。 使用DynamicDocumentPaginator可以找到这些部分的页码 注意:如果TOC将跨越多个页面,则需要多次迭代。 I did not find a way to do this automatically. But the following works: Reserve a page for the TOC Build the remaining docume ...在进一步审查之后,我找到了答案。 IsItemsHost属性告诉控件放置项目的位置。 flowdoc:Attached.IsItemsHost="True" 从第一个TableRowGroup中删除该属性并将其添加到第二个行组:
相关文章
更多- Becoming a data scientist
- Linux中sort用法(转)
- Hadoop实现Secondary Sort
- Hadoop 之 Secondary Sort介绍
- 100句英语
- A Great List of Windows Tools
- Drupal Forums instead of phpBB or vBulletin: A casestudy
- Stack Overflow Architecture Update - Now At 95 Million Page Views A Month
- Fast Search For SharePoint -- 金大昊(jindahao)
- Solr: a custom Search RequestHandler
最新问答
更多- 您如何使用git diff文件,并将其应用于同一存储库的副本的本地分支?(How do you take a git diff file, and apply it to a local branch that is a copy of the same repository?)
- 将长浮点值剪切为2个小数点并复制到字符数组(Cut Long Float Value to 2 decimal points and copy to Character Array)
- OctoberCMS侧边栏不呈现(OctoberCMS Sidebar not rendering)
- 页面加载后对象是否有资格进行垃圾回收?(Are objects eligible for garbage collection after the page loads?)
- codeigniter中的语言不能按预期工作(language in codeigniter doesn' t work as expected)
- 在计算机拍照在哪里进入
- 使用cin.get()从c ++中的输入流中丢弃不需要的字符(Using cin.get() to discard unwanted characters from the input stream in c++)
- No for循环将在for循环中运行。(No for loop will run inside for loop. Testing for primes)
- 单页应用程序:页面重新加载(Single Page Application: page reload)
- 在循环中选择具有相似模式的列名称(Selecting Column Name With Similar Pattern in a Loop)
- System.StackOverflow错误(System.StackOverflow error)
- KnockoutJS未在嵌套模板上应用beforeRemove和afterAdd(KnockoutJS not applying beforeRemove and afterAdd on nested templates)
- 散列包括方法和/或嵌套属性(Hash include methods and/or nested attributes)
- android - 如何避免使用Samsung RFS文件系统延迟/冻结?(android - how to avoid lag/freezes with Samsung RFS filesystem?)
- TensorFlow:基于索引列表创建新张量(TensorFlow: Create a new tensor based on list of indices)
- 企业安全培训的各项内容
- 错误:RPC失败;(error: RPC failed; curl transfer closed with outstanding read data remaining)
- C#类名中允许哪些字符?(What characters are allowed in C# class name?)
- NumPy:将int64值存储在np.array中并使用dtype float64并将其转换回整数是否安全?(NumPy: Is it safe to store an int64 value in an np.array with dtype float64 and later convert it back to integer?)
- 注销后如何隐藏导航portlet?(How to hide navigation portlet after logout?)
- 将多个行和可变行移动到列(moving multiple and variable rows to columns)
- 提交表单时忽略基础href,而不使用Javascript(ignore base href when submitting form, without using Javascript)
- 对setOnInfoWindowClickListener的意图(Intent on setOnInfoWindowClickListener)
- Angular $资源不会改变方法(Angular $resource doesn't change method)
- 在Angular 5中不是一个函数(is not a function in Angular 5)
- 如何配置Composite C1以将.m和桌面作为同一站点提供服务(How to configure Composite C1 to serve .m and desktop as the same site)
- 不适用:悬停在悬停时:在元素之前[复制](Don't apply :hover when hovering on :before element [duplicate])
- 常见的python rpc和cli接口(Common python rpc and cli interface)
- Mysql DB单个字段匹配多个其他字段(Mysql DB single field matching to multiple other fields)
- 产品页面上的Magento Up出售对齐问题(Magento Up sell alignment issue on the products page)