1

Are there any limitations with using DirectCompute on DX10.1 GPUs? I will do most of my development on a DX11 desktop, but I'd like to demo code on a DX10.1 laptop. It'll be a Macbook Pro running Win7 in Bootcamp. The GPU is an Nvidia 330M. What limitations can I expect?

Edit: I found a page about using Compute Shaders on DX10, but it's not entirely clear to me if these are serious limitations or not.

Edit 2: My goal is to learn a bit about quantitative finance and solving PDEs.

royco
  • 5,409
  • 13
  • 60
  • 84
  • I think you should give some hint of what kind of algorithms you want to implement. – elmattic Jul 28 '10 at 20:49
  • @Stringer: The domain is quantitative finance, and I'll be working with PDEs, but I'm unsure of exactly what methods I'll be using. This is a new field for me. – royco Jul 29 '10 at 00:44

2 Answers2

3

Frankly I think CS 4.x is rather limitating because of the lack of atomics, double precision, restrictions for accessing groupshared memory, as well as the 16KB limit. Also you can have only one UAV that can be bound.

I believe most of DirectCompute developers will use CS 4.x for post-processing in games or so (probably with both CS 4.x and CS 5.0 code path). People that want to do heavy GPGPU work will learn with CS 4.x then later move on CS 5.0.

Now you're saying you haven't a clue of the CS 4.x limitations. I suggest to go with CS 4.x and stick to it for now.

But really it all depends what you are developing, how and your target audience (professional developer vs hobby coder, shipping your application now vs in two years, mainstream audience vs pro market etc).

elmattic
  • 12,046
  • 5
  • 43
  • 79
  • [Nvidia docs](http://developer.download.nvidia.com/compute/DevZone/docs/html/DirectCompute/doc/DirectCompute_Programming_Guide.pdf#page=15) claim some of those limitations may be kind of forced by the API itself though, rather than being intrinsic to the hardware. I wonder how much better you'd fare with CUDA, or OpenCL, D3D10 interoperability. – mirh Jul 13 '19 at 11:24
  • @mirh: for sure CUDA would probably expose more of the hardware features than OpenCL or DirectCompute do. – elmattic Jul 14 '19 at 19:50
1

I can't tell you if the limitations are serious or not, as 1) it depends on what you're trying to achieve, and 2) I simply don't know enough about the compute shader.

However, you can run the DirectX Caps Viewer to see what features your device will support (or what limitations you can expect). Also, AFAIK other than the limitations highlighted in the link you posted, you will only be able to use CS 4.0, not the new features in CS 5.0.

Tchami
  • 4,647
  • 1
  • 32
  • 45