Questions tagged [fatbin]

3 questions
0
votes
2 answers

How do I check, programmatically, which targets are available in a cubin?

Suppose I have a cubin file, or perhaps to make it easier, a cubin file I loaded into memory (so that I have a void* to the data). Using the CUDA Driver API for modules, I can try loading the data into a module within the current context; and this…
einpoklum
  • 118,144
  • 57
  • 340
  • 684
0
votes
1 answer

How can I generalize a custom command into a generic-make-rule-like construct?

In this question: How can I build a fatbin file using CMake? we saw how to formulate a pair of add_custom_command() and add_custom_target() commands, for building a .fatbin file out of a .cu file: add_custom_command( OUTPUT my_src.fatbin …
einpoklum
  • 118,144
  • 57
  • 340
  • 684
0
votes
1 answer

How can I build a fatbin file using CMake?

I want to build a fatbin file from my .cu source file, using CMake. I've tried this: add_library(dummy_lib OBJECT my_src.cu) set_property(TARGET dummy_lib PROPERTY CUDA_PTX_COMPILATION ON) add_custom_command( TARGET dummy_lib POST_BUILD COMMAND…
einpoklum
  • 118,144
  • 57
  • 340
  • 684