Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CUDA] Add cupti #1531

Merged
merged 8 commits into from
Aug 22, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix JNI compilation errors
  • Loading branch information
HGuillemet committed Aug 20, 2024
commit df91ff12f6ece390c65d9a8a02bf8d2961eb5d0b
3 changes: 2 additions & 1 deletion cuda/src/main/java/org/bytedeco/cuda/presets/cupti.java
Original file line number Diff line number Diff line change
@@ -46,7 +46,8 @@ public class cupti implements InfoMapper {
public void map(InfoMap infoMap) {
infoMap
.put(new Info("CUPTIAPI").cppTypes().annotations().cppText(""))
.put(new Info("CUpti_EventID", "CUpti_EventDomainID", "CUpti_MetricID", "CUpti_CallbackId", "CUpti_DeviceAttribute", "CUpti_MetricValueKind").valueTypes("int").pointerTypes("IntPointer", "int[]"))
.put(new Info("CUPTILP64").define())
.put(new Info("CUpti_EventID", "CUpti_EventDomainID", "CUpti_MetricID", "CUpti_CallbackId", "CUpti_DeviceAttribute", "CUpti_MetricValueKind").valueTypes("int").cast().pointerTypes("IntPointer", "int[]")) // enum or uint32
.put(new Info("CUpti_SubscriberHandle").valueTypes("@ByPtr CUpti_Subscriber_st").pointerTypes("@ByPtrPtr CUpti_Subscriber_st"))
;
}
Loading
Oops, something went wrong.