AMD HIP backend for gfx1100 (PR #121, squashed onto its 0.1.21 base)
This commit is contained in:
1 parent
aaeb5a4120
commit
fa42f31dbd
47 files changed
+4807
-161
No files matched your search
@@ -33,7 +33,11 @@ int main(int argc, char** argv) {
|
||||
try {
|
||||
const strata::core::DeviceInfo d = strata::core::device_info(0);
|
||||
std::printf("device %d: %s\n", d.ordinal, d.name.c_str());
|
||||
#if defined(STRATA_USE_HIP)
|
||||
std::printf(" HIP target gfx1100 wave32\n");
|
||||
#else
|
||||
std::printf(" compute capability %d.%d (sm_%d%d)\n", d.cc_major, d.cc_minor, d.cc_major, d.cc_minor);
|
||||
#endif
|
||||
std::printf(" multiprocessors %d\n", d.multi_processor_count);
|
||||
std::printf(" VRAM total / free %s / %s\n", human(d.total_bytes).c_str(), human(d.free_bytes).c_str());
|
||||
std::printf(" driver / runtime %d / %d\n", d.driver_version, d.runtime_version);
|
||||
|
||||
Reference in new issue
Block a user