[ROCm/clr commit: 1563d53c92]
Αυτή η υποβολή περιλαμβάνεται σε:
Alex Voicu
2018-02-22 12:08:52 +00:00
γονέας e2c8b8c9ef 829c80c7cd
υποβολή 4e8e090839
4 αρχεία άλλαξαν με 57 προσθήκες και 7 διαγραφές
@@ -472,4 +472,16 @@ namespace hip_impl
return executable;
}
// To force HIP to load the kernels and to setup the function
// symbol map on program startup
class startup_kernel_loader {
private:
startup_kernel_loader() { functions(); }
startup_kernel_loader(const startup_kernel_loader&) = delete;
startup_kernel_loader& operator= (const startup_kernel_loader&) = delete;
static startup_kernel_loader skl;
};
startup_kernel_loader startup_kernel_loader::skl;
} // Namespace hip_impl.