Skip to content

Commit

Permalink
Fix JNI compilation errors
Browse files Browse the repository at this point in the history
  • Loading branch information
HGuillemet committed Aug 20, 2024
1 parent b5a43a8 commit df91ff1
Showing 1 changed file with 2 additions and 1 deletion.
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
Expand Up @@ -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"))
;
}
Expand Down

0 comments on commit df91ff1

Please sign in to comment.