How to create or manipulate GPU assembler?

后端 未结 6 1102
难免孤独
难免孤独 2020-12-13 07:30

Does any one have experience in creating/manipulating GPU machine code, possibly at run-time?

I am interested in modifying GPU assembler code, possibly at run tim

6条回答
  •  醉梦人生
    2020-12-13 07:58

    I've found gpuocelot open-source (BSD Licence) project interesting.

    It's "a dynamic compilation framework for PTX". I would call it cpu translator.

    "Ocelot currently allows CUDA programs to be executed on NVIDIA GPUs, AMD GPUs, and x86-CPUs". As far as I know, this framework do control-flow and data-flow analysis on PTX Kernel in order to apply proper transformations.

提交回复
热议问题