Shamrock 2025.10.0
Astrophysical Code
Loading...
Searching...
No Matches
Namespaces | Functions
get_sm_id.hpp File Reference

This file implement the GPU core timeline tool from A. Richermoz, F. Neyret 2024. More...

#include "shambackends/intrinsics.hpp"
#include "shambackends/intrisics/base_select.hpp"
+ Include dependency graph for get_sm_id.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  sham
 namespace for backends this one is named only sham since shambackends is too long to write
 

Functions

u32 sham::get_sm_id ()
 Return the SM (Streaming Multiprocessor) ID of the calling thread, or equivalent if implemented.
 

Detailed Description

This file implement the GPU core timeline tool from A. Richermoz, F. Neyret 2024.

Author
Antoine Richermoz (antoi.nosp@m.ne.r.nosp@m.icher.nosp@m.moz@.nosp@m.inria.nosp@m..fr)
Timothée David–Cléris (tim.s.nosp@m.hamr.nosp@m.ock@p.nosp@m.roto.nosp@m.n.me)

Definition in file get_sm_id.hpp.